5 points · by biesnecker · 13y ago · 3 comments
Seems the OP is just confused by syntax? we use obj.method(:method_a) instead of obj.method_a, i dont see why requiring a different syntax changes the semantics on this point.
ampersandy(10) do |x| x + 10 end
# => 10
Actually the result should be '20' as well.