Class: Set
- Inherits:
-
Object
- Object
- Set
- Defined in:
- lib/redisant/set.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(keys) ⇒ Set
constructor
A new instance of Set.
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
#key ⇒ Object (readonly)
Returns the value of attribute key.
2 3 4 |
# File 'lib/redisant/set.rb', line 2 def key @key end |