Class: Boechat::Core::Config::Wrapper
- Inherits:
-
Object
- Object
- Boechat::Core::Config::Wrapper
- Defined in:
- lib/boechat/core/config/wrapper.rb
Overview
Class responsible for save all configurations readed from boechat.yml file
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(config, errors) ⇒ Wrapper
constructor
A new instance of Wrapper.
Constructor Details
#initialize(config, errors) ⇒ Wrapper
Returns a new instance of Wrapper.
10 11 12 13 |
# File 'lib/boechat/core/config/wrapper.rb', line 10 def initialize(config, errors) @config = config @errors = errors end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
8 9 10 |
# File 'lib/boechat/core/config/wrapper.rb', line 8 def config @config end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
8 9 10 |
# File 'lib/boechat/core/config/wrapper.rb', line 8 def errors @errors end |