Class: Ffe::Configuration
- Inherits:
-
Object
- Object
- Ffe::Configuration
- Defined in:
- lib/ffe/configuration.rb
Instance Attribute Summary collapse
-
#bitlength ⇒ Object
Returns the value of attribute bitlength.
-
#env_variable ⇒ Object
Returns the value of attribute env_variable.
-
#milieus ⇒ Object
Returns the value of attribute milieus.
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 11 |
# File 'lib/ffe/configuration.rb', line 7 def initialize @bitlength = 4 @env_variable = 'RAILS_ENV' @milieus = { development: 0, staging: 1, production: 2 } end |
Instance Attribute Details
#bitlength ⇒ Object
Returns the value of attribute bitlength.
5 6 7 |
# File 'lib/ffe/configuration.rb', line 5 def bitlength @bitlength end |
#env_variable ⇒ Object
Returns the value of attribute env_variable.
5 6 7 |
# File 'lib/ffe/configuration.rb', line 5 def env_variable @env_variable end |
#milieus ⇒ Object
Returns the value of attribute milieus.
5 6 7 |
# File 'lib/ffe/configuration.rb', line 5 def milieus @milieus end |