class RedisCall::Key

Public Class Methods

new(name) click to toggle source
# File lib/redis-call/redis_call.rb, line 23
def initialize name
  @name = name.to_s
end

Public Instance Methods

+(name) click to toggle source
# File lib/redis-call/redis_call.rb, line 27
def + name
  self.class.new(@name + '.' + name.to_s)
end
Also aliased as: /
/(name)
Alias for: +
inspect() click to toggle source
# File lib/redis-call/redis_call.rb, line 33
def inspect
  @name.inspect
end
method_missing(*args, &block) click to toggle source
# File lib/redis-call/redis_call.rb, line 43
def method_missing *args, &block
  @name.__send__ *args, &block
end
to_s()
Alias for: to_str
to_str() click to toggle source
# File lib/redis-call/redis_call.rb, line 37
def to_str
  @name
end
Also aliased as: to_s