Class: AutoDecorator::Configuration
- Inherits:
-
Object
- Object
- AutoDecorator::Configuration
- Defined in:
- lib/auto_decorator/configuration.rb
Instance Attribute Summary collapse
-
#decorator_suffix ⇒ Object
Returns the value of attribute decorator_suffix.
-
#decorators_path ⇒ Object
Returns the value of attribute decorators_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/auto_decorator/configuration.rb', line 7 def initialize @decorators_path = "app/decorators" @decorator_suffix = "Decorator" end |
Instance Attribute Details
#decorator_suffix ⇒ Object
Returns the value of attribute decorator_suffix.
5 6 7 |
# File 'lib/auto_decorator/configuration.rb', line 5 def decorator_suffix @decorator_suffix end |
#decorators_path ⇒ Object
Returns the value of attribute decorators_path.
5 6 7 |
# File 'lib/auto_decorator/configuration.rb', line 5 def decorators_path @decorators_path end |