Class: ConfigDefault::Config
- Inherits:
-
Struct
- Object
- Struct
- ConfigDefault::Config
- Defined in:
- lib/config_default/config.rb
Instance Attribute Summary collapse
-
#config_path ⇒ Object
Returns the value of attribute config_path.
-
#postfix ⇒ Object
Returns the value of attribute postfix.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
4 5 6 7 |
# File 'lib/config_default/config.rb', line 4 def initialize self.config_path = "./config" self.postfix = "default" end |
Instance Attribute Details
#config_path ⇒ Object
Returns the value of attribute config_path
3 4 5 |
# File 'lib/config_default/config.rb', line 3 def config_path @config_path end |
#postfix ⇒ Object
Returns the value of attribute postfix
3 4 5 |
# File 'lib/config_default/config.rb', line 3 def postfix @postfix end |