Ben Giddings <bg-rubytalk / infofiend.com> writes: > But it seems to me that what people are really looking for is a way to > apply multiple methods to an object without having to retype it's > name: > > the_config_string_for_foo = $stdin.gets > the_config_string_for_foo.apply { strip!; downcase! } I like the idea of a safe instance_eval (one that doesnt circumvent privacy or has access to instance variables), and "apply" is a good name for that. > Ben -- Christian Neukirchen <chneukirchen / gmail.com> http://chneukirchen.org