Class: AppDrone::SimpleCov

Inherits:
Drone
  • Object
show all
Defined in:
lib/app_drone/drones/simple_cov/simple_cov.rb

Instance Attribute Summary

Attributes inherited from Drone

#params

Instance Method Summary collapse

Methods inherited from Drone

#>>, #^, categories, category, dependants, dependencies, depends_on, desc, #do!, #do_finally!, drones, #flair!, generator_method, human_name, #initialize, #method_missing, #notify!, owns_generator_method, #pair?, pairs, pairs_with, param, #param, param_named, param_with, params, precursors, #render, run_after, #setup, to_sym

Constructor Details

This class inherits a constructor from AppDrone::Drone

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AppDrone::Drone

Instance Method Details

#alignObject



10
11
12
# File 'lib/app_drone/drones/simple_cov/simple_cov.rb', line 10

def align
  bundle.add 'simplecov', require: false, group: :test
end

#executeObject



14
15
16
17
# File 'lib/app_drone/drones/simple_cov/simple_cov.rb', line 14

def execute
  do! :install
  do! :rspec_integration if pair?(:rspec)
end