Class: ConfigDefault::Config

Inherits:
Struct
  • Object
show all
Defined in:
lib/config_default/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_pathObject

Returns the value of attribute config_path

Returns:

  • (Object)

    the current value of config_path



3
4
5
# File 'lib/config_default/config.rb', line 3

def config_path
  @config_path
end

#postfixObject

Returns the value of attribute postfix

Returns:

  • (Object)

    the current value of postfix



3
4
5
# File 'lib/config_default/config.rb', line 3

def postfix
  @postfix
end