Class: AutoDecorator::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/auto_decorator/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_suffixObject

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_pathObject

Returns the value of attribute decorators_path.



5
6
7
# File 'lib/auto_decorator/configuration.rb', line 5

def decorators_path
  @decorators_path
end