Guest User

Untitled

a guest
May 27th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. [headius @ cnutter:~/projects/jruby]
  2. ◆ ruby -e "1; p (2) %3"
  3. 2
  4. [headius @ cnutter:~/projects/jruby]
  5. ◆ ruby -e "1; p(2) %3"
  6. 2
  7. -e:1: undefined method `%' for nil:NilClass (NoMethodError)
  8. [headius @ cnutter:~/projects/jruby]
  9. ◆ ruby -e "1; p(2,4) %3"
  10. 2
  11. 4
  12. -e:1: undefined method `%' for nil:NilClass (NoMethodError)
  13. [headius @ cnutter:~/projects/jruby]
  14. ◆ ruby -e "1; p (2,4) %3"
  15. -e:1: warning: don't put space before argument parentheses
  16. -e:1: syntax error, unexpected '%', expecting $end
  17. 1; p (2,4) %3
  18. ^
Add Comment
Please, Sign In to add comment