--e89a8f50397c4f488d04bc543aad Content-Type: text/plain; charset=UTF-8 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 ill 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 --e89a8f50397c4f488d04bc543aad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Mar 28, 2012 at 22:18, Adam Prescott <span dir="ltr"><adam / aprescott.com></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div>Assignment always returns the right hand side, so this isn't quiten accurate demonstration of #store.</div><div></div></blockquote></div><br><div>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 alwayseturn the argument it's given.</div> <div><br></div><div>Or, since it's easier shown than described, what I mean is:</div><div><br></div><div>X.new.send(:foo=, 10) #=> :nope</div> --e89a8f50397c4f488d04bc543aad--