On Wed, Mar 28, 2012 at 22:18, Adam Prescott <adam / aprescott.com> wrote:

> Assignment always returns the right hand side, so this isn't quite an
> accurate demonstration of #store.
>

Although, I should also mention, this is due to the syntax of assignment
here being also a method call, and not simply that #foo= will always return
the argument it's given.

Or, since it's easier shown than described, what I mean is:

X.new.send(:foo=, 10) #=> :nope