Module: Brevio::Session::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/brevio/session/config.rb

Defined Under Namespace

Modules: Redis Classes: Configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configObject

Returns the value of attribute config.



6
7
8
# File 'lib/brevio/session/config.rb', line 6

def config
  @config
end

Instance Method Details

#configure {|config| ... } ⇒ Object

Yields:



8
9
10
11
# File 'lib/brevio/session/config.rb', line 8

def configure
  self.config ||= Configuration.new
  yield(config)
end