Module: Nyoibo::Configure
- Included in:
- Nyoibo
- Defined in:
- lib/nyoibo/configure.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
3 4 5 |
# File 'lib/nyoibo/configure.rb', line 3 def config @config end |
Instance Method Details
#configure(&block) ⇒ Object
4 5 6 7 |
# File 'lib/nyoibo/configure.rb', line 4 def configure(&block) @config = Config.new @config.instance_exec(&block) end |