Module: Satis::Configurable

Included in:
Satis
Defined in:
lib/satis/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configObject



76
77
78
# File 'lib/satis/configuration.rb', line 76

def config
  @config ||= Configuration.new
end

Instance Method Details

#configure {|config| ... } ⇒ Object Also known as: setup

Yields:



80
81
82
# File 'lib/satis/configuration.rb', line 80

def configure
  yield(config)
end

#reset_config!Object



85
86
87
# File 'lib/satis/configuration.rb', line 85

def reset_config!
  @config = Configuration.new
end