Class: Rubinius::Tuple

Inherits:
Array show all
Defined in:
lib/rubinius/bridge/tuple.rb

Instance Method Summary collapse

Methods inherited from Array

#to_tuple

Instance Method Details

#copy_from(other, start, length, dest) ⇒ Object



3
4
5
6
7
# File 'lib/rubinius/bridge/tuple.rb', line 3

def copy_from(other, start, length, dest)
  length.times do |i|
    self[dest + i] = other[start + i]
  end
end