Class: AppDrone::Stylesheet
- Defined in:
- lib/app_drone/drones/stylesheet/stylesheet.rb
Instance Attribute Summary collapse
-
#imports ⇒ Object
Returns the value of attribute imports.
-
#pipeline_requires ⇒ Object
Returns the value of attribute pipeline_requires.
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, 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 Attribute Details
#imports ⇒ Object
Returns the value of attribute imports.
7 8 9 |
# File 'lib/app_drone/drones/stylesheet/stylesheet.rb', line 7 def imports @imports end |
#pipeline_requires ⇒ Object
Returns the value of attribute pipeline_requires.
7 8 9 |
# File 'lib/app_drone/drones/stylesheet/stylesheet.rb', line 7 def pipeline_requires @pipeline_requires end |
Instance Method Details
#align ⇒ Object
16 17 18 19 20 |
# File 'lib/app_drone/drones/stylesheet/stylesheet.rb', line 16 def align bundle.add 'therubyracer' bundle.add 'compass-rails' self.import 'compass' end |
#execute ⇒ Object
22 23 24 |
# File 'lib/app_drone/drones/stylesheet/stylesheet.rb', line 22 def execute do! :application_sass end |
#import(i) ⇒ Object
9 |
# File 'lib/app_drone/drones/stylesheet/stylesheet.rb', line 9 def import(i); self.imports << i end |
#pipeline(r) ⇒ Object
8 |
# File 'lib/app_drone/drones/stylesheet/stylesheet.rb', line 8 def pipeline(r); self.pipeline_requires << r end |
#setup ⇒ Object
11 12 13 14 |
# File 'lib/app_drone/drones/stylesheet/stylesheet.rb', line 11 def setup self.pipeline_requires = [] self.imports = [] end |