Class: Biro::Configuration
- Inherits:
-
Object
- Object
- Biro::Configuration
- Includes:
- Singleton
- Defined in:
- lib/biro/configuration.rb
Instance Attribute Summary collapse
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
Instance Attribute Details
#environment ⇒ Object
Returns the value of attribute environment.
7 8 9 |
# File 'lib/biro/configuration.rb', line 7 def environment @environment end |
#logger ⇒ Object
Returns the value of attribute logger.
7 8 9 |
# File 'lib/biro/configuration.rb', line 7 def logger @logger end |
Instance Method Details
#development! ⇒ Object
13 14 15 |
# File 'lib/biro/configuration.rb', line 13 def development! @environment = :development end |
#development? ⇒ Boolean
17 18 19 |
# File 'lib/biro/configuration.rb', line 17 def development? @environment == :development end |