Jul 16, 2016 11:55
2.2.0 :010 > f 1, 2 { |x| x+1 }
SyntaxError: (irb):10: syntax error, unexpected '{', expecting end-of-input
2.2.0 :011 > f (1, 2) { |x| x+1 }
SyntaxError: (irb):11: syntax error, unexpected ',', expecting ')'
2.2.0 :012 > f(1, 2) { |x| x+1 }
=> 2
what's their problem?!