class Concurrent::Tuple

def get(i)

Returns:
  • (Object) - the value at the given index or nil if the index is out of bounds

Parameters:
  • i (Integer) -- the index from which to retrieve the value
def get(i)
  return nil if i >= @size || i < 0
  @tuple[i].get
end