Module: Lite::Redis
- Defined in:
- lib/lite/redis/geo.rb,
lib/lite/redis/key.rb,
lib/lite/redis/set.rb,
lib/lite/redis/base.rb,
lib/lite/redis/hash.rb,
lib/lite/redis/list.rb,
lib/lite/redis/script.rb,
lib/lite/redis/string.rb,
lib/lite/redis/pub_sub.rb,
lib/lite/redis/railtie.rb,
lib/lite/redis/version.rb,
lib/lite/redis/connection.rb,
lib/lite/redis/sorted_set.rb,
lib/lite/redis/transaction.rb,
lib/lite/redis/configuration.rb,
lib/lite/redis/hyper_log_log.rb,
lib/generators/lite/redis/install_generator.rb
Defined Under Namespace
Classes: Base, Configuration, Connection, Geo, Hash, HyperLogLog, InstallGenerator, Key, List, PubSub, Railtie, Script, Set, SortedSet, String, Transaction
Constant Summary
collapse
- VERSION =
"1.3.0"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
22
23
24
|
# File 'lib/lite/redis/configuration.rb', line 22
def configuration
@configuration ||= Configuration.new
end
|
Class Method Details
26
27
28
|
# File 'lib/lite/redis/configuration.rb', line 26
def configure
yield(configuration)
end
|
.reset_configuration! ⇒ Object
30
31
32
|
# File 'lib/lite/redis/configuration.rb', line 30
def reset_configuration!
@configuration = Configuration.new
end
|