irb _
How have I missed this until now? When in Ruby’s irb, you can use ‘_’ to reference the previous result of anything.
>> 10 + 3
=> 13
>> _ + 2
=> 15
>> _ / 3
=> 5
>>
Very useful.
How have I missed this until now? When in Ruby’s irb, you can use ‘_’ to reference the previous result of anything.
>> 10 + 3
=> 13
>> _ + 2
=> 15
>> _ / 3
=> 5
>>
Very useful.
loading tweets…