Module: Grenache::Configurable::ClassMethods
- Defined in:
- lib/grenache/configurable.rb
Instance Method Summary collapse
-
#config ⇒ Object
Class configuration.
- #default_conf(&block) ⇒ Object (also: #configure)
Instance Method Details
#config ⇒ Object
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 |