Class: RFunk::Tuple
- Inherits:
-
Object
- Object
- RFunk::Tuple
- Defined in:
- lib/rfunk/tuple.rb
Instance Method Summary collapse
-
#initialize(values) ⇒ Tuple
constructor
A new instance of Tuple.
- #value(*args) ⇒ Object
Constructor Details
#initialize(values) ⇒ Tuple
Returns a new instance of Tuple.
3 4 5 6 |
# File 'lib/rfunk/tuple.rb', line 3 def initialize(values) @values = values deep_freeze end |