Jul. 16th, 2016

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?!

Profile

sassa_nf

February 2026

S M T W T F S
1234567
891011121314
15161718192021
222324252627 28

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 22nd, 2026 02:07 am
Powered by Dreamwidth Studios