You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I personally think it's a little confusing and inconsistent. Assignments are expressions in Ruby, and return a value, so I'd expect irb to print that just like any other expression. It was a bit jarring when this suddenly changed. I had to ask myself 'wait, this does return a value right?'.
Expected behavior: When an assignment expression is entered, irb prints its value.
Actual behavior: Nothing is printed.
The text was updated successfully, but these errors were encountered: