Class: Crusade::Configuration
- Inherits:
-
Object
- Object
- Crusade::Configuration
- Defined in:
- lib/crusade/configuration.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
Returns the value of attribute env.
-
#plugins ⇒ Object
Returns the value of attribute plugins.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #logger=(logger) ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 18 |
# File 'lib/crusade/configuration.rb', line 15 def initialize @plugins = {} @env = 'development' end |
Instance Attribute Details
#env ⇒ Object
Returns the value of attribute env.
13 14 15 |
# File 'lib/crusade/configuration.rb', line 13 def env @env end |
#plugins ⇒ Object
Returns the value of attribute plugins.
13 14 15 |
# File 'lib/crusade/configuration.rb', line 13 def plugins @plugins end |