Class: CssViews::Configuration
- Inherits:
-
Object
- Object
- CssViews::Configuration
- Defined in:
- lib/css_views/configuration.rb
Instance Method Summary collapse
- #components ⇒ Object
- #handler(controller) ⇒ Object
-
#initialize(name, options) ⇒ Configuration
constructor
A new instance of Configuration.
- #transformers ⇒ Object
Constructor Details
#initialize(name, options) ⇒ Configuration
Returns a new instance of Configuration.
3 4 5 6 |
# File 'lib/css_views/configuration.rb', line 3 def initialize(name, ) @name = name @options = end |
Instance Method Details
#components ⇒ Object
8 9 10 |
# File 'lib/css_views/configuration.rb', line 8 def components @options[:components] end |
#handler(controller) ⇒ Object
17 18 19 |
# File 'lib/css_views/configuration.rb', line 17 def handler(controller) Handler.new(self, controller) end |
#transformers ⇒ Object
12 13 14 |
# File 'lib/css_views/configuration.rb', line 12 def transformers @options[:transformers] end |