Ruby Tips

Mass Variable Assignment

Assign multiple variables to multiple values:

a, b, c, d = 1, 2, 3, 4
=> 1
=> 3

Ruby Tips - a simple ruby tip generator

Refresh the page to generate a new tip. Or just click here

Built by @zayneabraham

RubyTips - A random Ruby tip generator | Product Hunt Embed