Module: Ricordami::Configuration::ClassMethods
- Defined in:
- lib/ricordami/configuration.rb
Instance Method Summary collapse
Instance Method Details
#configuration ⇒ Object
11 12 13 |
# File 'lib/ricordami/configuration.rb', line 11 def configuration @configuration ||= Config.new end |
#configure {|configuration| ... } ⇒ Object
6 7 8 9 |
# File 'lib/ricordami/configuration.rb', line 6 def configure(&block) raise ArgumentError.new("block missing") unless block_given? yield configuration end |