Class: Fib::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/fib/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#redisObject

Returns the value of attribute redis.



3
4
5
# File 'lib/fib/config.rb', line 3

def redis
  @redis
end

Instance Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Fib::Config)

    the object that the method was called on



5
6
7
# File 'lib/fib/config.rb', line 5

def configure
  yield(self)
end