Module: Rediska
- Extended by:
- Rediska
- Included in:
- Rediska
- Defined in:
- lib/rediska.rb,
lib/rediska/zset.rb,
lib/rediska/driver.rb,
lib/rediska/version.rb,
lib/rediska/connection.rb,
lib/rediska/configuration.rb,
lib/rediska/databases/memory.rb,
lib/rediska/databases/pstore.rb,
lib/rediska/sorted_set_store.rb,
lib/rediska/databases/expiring.rb,
lib/rediska/sorted_set_argument_handler.rb
Defined Under Namespace
Modules: Databases, Driver, Utilities Classes: Configuration, Connection, SortedSetArgumentHandler, SortedSetIntersectStore, SortedSetStore, SortedSetUnionStore, ZSet
Constant Summary collapse
- VERSION =
'0.0.11'.freeze
- Redis =
::Redis
Instance Attribute Summary collapse
-
#configuration ⇒ Object
Returns the value of attribute configuration.
Instance Method Summary collapse
Instance Attribute Details
#configuration ⇒ Object
Returns the value of attribute configuration.
8 9 10 |
# File 'lib/rediska.rb', line 8 def configuration @configuration end |
Instance Method Details
#configure {|configuration| ... } ⇒ Object
10 11 12 13 14 15 |
# File 'lib/rediska.rb', line 10 def configure Redis::Connection.drivers << Rediska::Connection self.configuration ||= Configuration.new yield configuration if block_given? end |