Class: Startback::Web::MagicAssets::RakeTasks
- Inherits:
-
Object
- Object
- Startback::Web::MagicAssets::RakeTasks
- Defined in:
- lib/startback/web/magic_assets/rake_tasks.rb
Constant Summary collapse
- DEFAULT_OPTIONS =
{ :namespace => :assets }
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#rake ⇒ Object
readonly
Returns the value of attribute rake.
Instance Method Summary collapse
-
#initialize(rake, options) ⇒ RakeTasks
constructor
A new instance of RakeTasks.
Constructor Details
#initialize(rake, options) ⇒ RakeTasks
Returns a new instance of RakeTasks.
10 11 12 13 14 |
# File 'lib/startback/web/magic_assets/rake_tasks.rb', line 10 def initialize(rake, ) @rake = rake @options = DEFAULT_OPTIONS.merge() install end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
15 16 17 |
# File 'lib/startback/web/magic_assets/rake_tasks.rb', line 15 def @options end |
#rake ⇒ Object (readonly)
Returns the value of attribute rake.
15 16 17 |
# File 'lib/startback/web/magic_assets/rake_tasks.rb', line 15 def rake @rake end |