_command()
click to toggle source
def _command
@command
end
_set(object)
click to toggle source
def _set(object)
@object = @transformation ? @transformation.call(object) : object
value
end
inspect()
click to toggle source
def inspect
"<Redis::Future #{@command.inspect}>"
end
value()
click to toggle source
def value
::Kernel.raise(@object) if @object.kind_of?(::RuntimeError)
@object
end