Class: AppDrone::SimpleForm

Inherits:
Drone
  • Object
show all
Defined in:
lib/app_drone/drones/simple_form/simple_form.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



12
13
14
15
# File 'lib/app_drone/drones/simple_form/simple_form.rb', line 12

def align
  bundle.add 'simple_form'
  bundle.add 'country_select' if param(:add_country_select)
end

#executeObject



17
18
19
# File 'lib/app_drone/drones/simple_form/simple_form.rb', line 17

def execute
  do! :install
end