-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 vannuys / gmail.com wrote: | Rob, | | I do not want to assign a new value to @text. | The "get_some_value" function should return a new string (value) which | is a concatenation of strings. In this case a simple concatenation of | @text and "-New Value". def return_some_value ~ "#{@text} -New Value" end new_string = MyClass.return_some_value - -- Phillip Gawlowski Twitter: twitter.com/cynicalryan ~ - You know you've been hacking too long when... ...your digital alarm clock goes off and you think "Bloody Macs!" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgQ1fUACgkQbtAgaoJTgL9oswCfepMHKn77Bnp7Jf6hNDa4oZaN 15YAn1m7aEB/kw7XS4e0AH5Ea73pYdA8 =EO/v -----END PGP SIGNATURE-----