Module: Satis::Configurable
- Included in:
- Satis
- Defined in:
- lib/satis/configuration.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
- #configure {|config| ... } ⇒ Object (also: #setup)
- #reset_config! ⇒ Object
Instance Attribute Details
#config ⇒ Object
76 77 78 |
# File 'lib/satis/configuration.rb', line 76 def config @config ||= Configuration.new end |
Instance Method Details
#configure {|config| ... } ⇒ Object Also known as: setup
80 81 82 |
# File 'lib/satis/configuration.rb', line 80 def configure yield(config) end |
#reset_config! ⇒ Object
85 86 87 |
# File 'lib/satis/configuration.rb', line 85 def reset_config! @config = Configuration.new end |