General

Profile

gaffneyc (Chris Gaffney)

  • Login: gaffneyc
  • Email: gaffneyc@gmail.com
  • Registered on: 02/03/2013
  • Last sign in: 02/03/2013

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

02/07/2013

01:01 AM Ruby Bug #7773: Calling send("attribute=", value) returns nil instead of value
I consider it a bug because the behavior only happens using `send`. If I were to call `bar=` directly (see below) it returns the value that was set.
class Foo
attr_writer :bar
end
Foo.new.bar = "test" # => "test"
Should `sen...
gaffneyc (Chris Gaffney)

02/03/2013

05:41 PM Ruby Bug #7773 (Closed): Calling send("attribute=", value) returns nil instead of value
When calling an attribute writer created using either attr_accessor or attr_writer via send nil is returned from the send call instead of the new value.
I've attached a test case that is failing on current head (51794) and 2.0.0-rc1. ...
gaffneyc (Chris Gaffney)

Also available in: Atom