Module: Grenache::Configurable

Included in:
Base
Defined in:
lib/grenache/configurable.rb

Overview

Configuration helpers

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



43
44
45
# File 'lib/grenache/configurable.rb', line 43

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#configObject

Instance configuration, can be altered indipendently



48
49
50
# File 'lib/grenache/configurable.rb', line 48

def config
  @configuration ||= Configuration.new
end