Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Does the || operator evaluate the second argument even if the first argument is true?
- rr
- NameError: undefined local variable or method `rr' for main:Object
- from (irb):1
- from :0
- (a=10) || (rr=20)
- rr # => nil
Advertisement
Add Comment
Please, Sign In to add comment