Subject: How do I create an attribute accessor to do this...
From: "J2M" <james2mccarthy gmail.com>
Date: Mon, 25 Sep 2006 07:05:39 +0900
I want to be able to do this to merge a hash into attribute bas on
instance bar in class foo;
bar = Foo.new
bar.bas << { :this => "that" }
Is there any way to define the accessor in Foo to be able to do this?
Thanks,
James