Class: Set

Inherits:
Object
  • Object
show all
Defined in:
lib/redisant/set.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keys) ⇒ Set

Returns a new instance of Set.



3
4
5
# File 'lib/redisant/set.rb', line 3

def initialize keys
  @key = key
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



2
3
4
# File 'lib/redisant/set.rb', line 2

def key
  @key
end