Class: BEM::Configuration
- Inherits:
-
Object
- Object
- BEM::Configuration
- Defined in:
- lib/bem/configuration.rb
Instance Attribute Summary collapse
-
#css_directive ⇒ Object
Returns the value of attribute css_directive.
-
#technologies ⇒ Object
Returns the value of attribute technologies.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 |
# File 'lib/bem/configuration.rb', line 5 def initialize @technologies = [ { :group => 'stylesheets', :extension => '.scss', :name => 'scss', :css_directive => '@import', :css_prefix => "'", :css_postfix => "';" }, { :group => 'javascripts', :extension => '.js', :name => 'js' } ] end |
Instance Attribute Details
#css_directive ⇒ Object
Returns the value of attribute css_directive.
3 4 5 |
# File 'lib/bem/configuration.rb', line 3 def css_directive @css_directive end |
#technologies ⇒ Object
Returns the value of attribute technologies.
3 4 5 |
# File 'lib/bem/configuration.rb', line 3 def technologies @technologies end |