From: Dominik Honnef Date: 2009-02-04T23:33:21+09:00 Subject: Re: RProperties 0.0.1 Released --pvezYHf7grwyp3Bc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > But my intention to make rproperties is to mantain the java way and , with > this, convence more java users > here in brazil to migrate to ruby, and migrating , they will be completly > free to use the ruby ways and discover this wonderfull language , that i > prefer too! I doubt that people coming from Java will discover the beauty of Ruby if they are able to use things like RProperties. And in my opinion, something like #get_p(...) is not Ruby-like at all. The proper way would be to actually show them how it is done in Ruby's way. > site_name =3D My Crazy Blog About Ruby > site_author =3D Barack Obama > author_email =3D barack@whitehouse.org By simply adding "" around the values, you could even use this kind of format with, e.g., instance_eval and provide an interface like the following: Properties.site_name to get the value of site_name, which is way nicer than get_p('site_name') --=20 Dominik Honnef dominikho@gmx.net --pvezYHf7grwyp3Bc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmJp0sACgkQePZ2jI1LDteWUgCgmtjFw3sKoEgFBSso421s+5Ec ZZYAoO0g6oxzmF0GvU4vdXDfUG7X99X3 =nyIU -----END PGP SIGNATURE----- --pvezYHf7grwyp3Bc--