Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tuple from

def f(x, y)
  return x + y
end

puts f(2, 3)
values = [3, 4]
puts values

puts f(*{Int32, Int32}.from(values))