Module: Hatt::Configuration
- Included in:
- ApiClients, DSL, Mixin
- Defined in:
- lib/hatt/configuration.rb
Constant Summary collapse
- DEFAULT_CONFIG_FILE =
'hatt.yml'.freeze
- DEFAULT_HATT_GLOBS =
['*hattdsl/*hattdsl.rb'].freeze
Instance Method Summary collapse
- #hatt_config_file=(filename) ⇒ Object (also: #hatt_config_file)
- #hatt_configuration ⇒ Object
Instance Method Details
#hatt_config_file=(filename) ⇒ Object Also known as: hatt_config_file
15 16 17 18 19 |
# File 'lib/hatt/configuration.rb', line 15 def hatt_config_file=(filename) @hatt_config_file = filename init_config self end |
#hatt_configuration ⇒ Object
10 11 12 13 |
# File 'lib/hatt/configuration.rb', line 10 def hatt_configuration init_config @hatt_configuration.tcfg end |