Module: Notion::Configurable
- Included in:
- Notion
- Defined in:
- lib/notion/configurable.rb
Overview
Dynamic configuration
Defined Under Namespace
Classes: Configuration
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
10 11 12 |
# File 'lib/notion/configurable.rb', line 10 def config @config ||= Configuration.new end |
#configure {|config| ... } ⇒ Object
6 7 8 |
# File 'lib/notion/configurable.rb', line 6 def configure yield config end |
#setup ⇒ Object
14 15 16 |
# File 'lib/notion/configurable.rb', line 14 def setup @config = nil end |