Module: Brevio::Session::Config
Defined Under Namespace
Modules: Redis Classes: Configuration
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
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
8 9 10 11 |
# File 'lib/brevio/session/config.rb', line 8 def configure self.config ||= Configuration.new yield(config) end |