Module: Grenache::Configurable::ClassMethods

Defined in:
lib/grenache/configurable.rb

Instance Method Summary collapse

Instance Method Details

#configObject

Class configuration



54
55
56
# File 'lib/grenache/configurable.rb', line 54

def config
  Grenache::Configuration.default
end

#default_conf(&block) ⇒ Object Also known as: configure



58
59
60
# File 'lib/grenache/configurable.rb', line 58

def default_conf &block
  Grenache::Configuration.set_default &block
end