If I have a class how do I get it to return a value without specifying a method or attribute: class Money attr_writer :value end money = Money.new(5) money.value => 5 but what if I want: money => 5 So the actual object returns a value instead of a method or attribute, like the base classes do. Many thanks, K. -- Posted via http://www.ruby-forum.com/.