Module: DoubleEntry::Configurable::ClassMethods
- Defined in:
- lib/double_entry/configurable.rb
Overview
:nodoc:
Instance Method Summary collapse
- #configuration ⇒ Object (also: #config)
- #configure {|configuration| ... } ⇒ Object
Instance Method Details
#configuration ⇒ Object Also known as: config
41 42 43 |
# File 'lib/double_entry/configurable.rb', line 41 def configuration @configuration ||= self::Configuration.new end |
#configure {|configuration| ... } ⇒ Object
46 47 48 |
# File 'lib/double_entry/configurable.rb', line 46 def configure yield(configuration) end |