Class: AppDrone::Carrierwave
- Defined in:
- lib/app_drone/drones/carrierwave/carrierwave.rb
Instance Attribute Summary
Attributes inherited from Drone
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
#align ⇒ Object
10 11 12 13 |
# File 'lib/app_drone/drones/carrierwave/carrierwave.rb', line 10 def align bundle.add 'carrierwave' bundle.add 'fog' if param(:fog) end |
#execute ⇒ Object
15 16 17 |
# File 'lib/app_drone/drones/carrierwave/carrierwave.rb', line 15 def execute notify! 'Create "config/initializers/fog.rb" and load your Fog credentials into Carrierwave!' if param(:fog) end |