Sun Oct 15
#
Implicit writer invocation in block assignment
class Foo attr_writer :bar end f = Foo.new %w(one two three).each do |f.bar| p f end #<Foo:0x4369c @bar="one"> #<Foo:0x4369c @bar="two"> #<Foo:0x4369c @bar="three">