Class: Ibrain::Core::Environment
- Inherits:
-
Object
- Object
- Ibrain::Core::Environment
- Includes:
- EnvironmentExtension
- Defined in:
- lib/ibrain/core/environment.rb
Instance Attribute Summary collapse
-
#preferences ⇒ Object
Returns the value of attribute preferences.
Instance Method Summary collapse
-
#initialize(ibrain_config) ⇒ Environment
constructor
A new instance of Environment.
Constructor Details
#initialize(ibrain_config) ⇒ Environment
Returns a new instance of Environment.
12 13 14 |
# File 'lib/ibrain/core/environment.rb', line 12 def initialize(ibrain_config) @preferences = ibrain_config end |
Instance Attribute Details
#preferences ⇒ Object
Returns the value of attribute preferences.
10 11 12 |
# File 'lib/ibrain/core/environment.rb', line 10 def preferences @preferences end |