Class: Toppings::Generators::Install::CompassConfigGenerator
- Inherits:
-
BaseGenerator
- Object
- Thor::Group
- BaseGenerator
- Toppings::Generators::Install::CompassConfigGenerator
show all
- Defined in:
- lib/toppings/generators/install/compass_config_generator.rb
Class Method Summary
collapse
Instance Method Summary
collapse
#notify_invoke
#root_file_path, #stylesheets_path
Class Method Details
.source_root ⇒ Object
7
8
9
|
# File 'lib/toppings/generators/install/compass_config_generator.rb', line 7
def source_root
template_path
end
|
Instance Method Details
#compass_config ⇒ Object
12
13
14
|
# File 'lib/toppings/generators/install/compass_config_generator.rb', line 12
def compass_config
template 'compass.rb.tt', Pathname.new('.').join('config').join('compass.rb')
end
|