Hacker News new | ask | show | jobs
by oivaksef 1905 days ago
IRB the interactive ruby shell has _ which references the return value of the last command. So

10 + 10 puts _ # prints 20

but that isn't available in ruby itself