Class: Tuple
Overview
Instance Method Summary collapse
-
#initialize(*args) ⇒ Tuple
constructor
A new instance of Tuple.
Methods inherited from Array
#[], #apply_snapshot, #at, #take_snapshot, #values_at
Constructor Details
#initialize(*args) ⇒ Tuple
Returns a new instance of Tuple.
26 27 28 29 |
# File 'lib/carat/tuple.rb', line 26 def initialize(*args) super() self.concat args end |