lib/redis/value.rb in redis-objects-1.4.3 vs lib/redis/value.rb in redis-objects-1.5.0
- old
+ new
@@ -4,14 +4,9 @@
class Redis
#
# Class representing a simple value. You can use standard Ruby operations on it.
#
class Value < BaseObject
- require 'redis/helpers/core_commands'
- include Redis::Helpers::CoreCommands
-
- attr_reader :key, :options
-
def value=(val)
allow_expiration do
if val.nil?
delete
else