From: Anita Anita Date: 2009-01-07T06:58:01+09:00 Subject: Can I return the value of val with: def active=(val)? How to return the value of val? If I write: def active=(val) if user.active val = t else val = z end I never saw a method using name=(value), I cannot use active? because val needs to be different than true or false. Anyone? Have you seen such a method before? where? I need an example -- Posted via http://www.ruby-forum.com/.