3 ms·
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 i
by oivaksef 6y 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