<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-24779679.post4404196954888240574..comments</id><updated>2009-01-29T02:07:20.202-08:00</updated><category term='ruby'/><category term='Radiant'/><category term='bloggers'/><category term='songs'/><category term='tools'/><category term='installation'/><category term='java'/><category term='Classics'/><category term='SWCairo'/><category term='ArabNetCairo'/><category term='books'/><category term='maven'/><category term='art'/><category term='prime numbers'/><category term='restful authentication'/><category term='firefox'/><category term='Development'/><category term='rails'/><category term='thoughts'/><category term='espace'/><category term='CMS'/><category term='rmagick'/><category term='quotes'/><category term='fix'/><category term='eclipse'/><category term='productivity'/><category term='testing'/><category term='ubuntu'/><category term='active scaffold'/><category term='j2ee'/><category term='Video'/><category term='scripts'/><category term='Trouble Shooting'/><category term='Startup'/><category term='svn'/><category term='google'/><title type='text'>Comments on Thoughts: Writing Prettier Ruby Code with instance_eval</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.modsaid.com/feeds/4404196954888240574/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24779679/4404196954888240574/comments/default'/><link rel='alternate' type='text/html' href='http://blog.modsaid.com/2008/11/writing-prettier-ruby-code-with.html'/><author><name>mahmoud</name><uri>http://www.blogger.com/profile/09457586853819956435</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_ntOcR9BKdOg/TP6t53s418I/AAAAAAAAAI8/7MEqFrItL9M/S220/mod3.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-24779679.post-2482801145675707280</id><published>2009-01-29T02:07:00.000-08:00</published><updated>2009-01-29T02:07:00.000-08:00</updated><title type='text'>This seems to be not so messy at all:&lt;br&gt;&lt;br&gt;a = [...</title><content type='html'>This seems to be not so messy at all:&lt;BR/&gt;&lt;BR/&gt;a = [1, 2, 3, 4, 5, 6, 7, 8]&lt;BR/&gt;a.size&lt;BR/&gt;a.sum rescue puts("Method not found")&lt;BR/&gt;a.average rescue puts("Method not found")&lt;BR/&gt;&lt;BR/&gt;def a.sum&lt;BR/&gt;  inject(0){|a,e| a + e}&lt;BR/&gt;end&lt;BR/&gt;  &lt;BR/&gt;def a.average&lt;BR/&gt;  sum / size&lt;BR/&gt;end&lt;BR/&gt;    &lt;BR/&gt;a.average</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24779679/4404196954888240574/comments/default/2482801145675707280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24779679/4404196954888240574/comments/default/2482801145675707280'/><link rel='alternate' type='text/html' href='http://blog.modsaid.com/2008/11/writing-prettier-ruby-code-with.html?showComment=1233223620000#c2482801145675707280' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.modsaid.com/2008/11/writing-prettier-ruby-code-with.html' ref='tag:blogger.com,1999:blog-24779679.post-4404196954888240574' source='http://www.blogger.com/feeds/24779679/posts/default/4404196954888240574' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1452422693'/></entry><entry><id>tag:blogger.com,1999:blog-24779679.post-513930920652068937</id><published>2008-11-17T04:56:00.000-08:00</published><updated>2008-11-17T04:56:00.000-08:00</updated><title type='text'>You are welcome Ahmed,&lt;br&gt;&lt;br&gt;actually i used this...</title><content type='html'>You are welcome Ahmed,&lt;BR/&gt;&lt;BR/&gt;actually i used this method in a piece of code that would have looked very messy without it..&lt;BR/&gt;&lt;BR/&gt;i'll probably be talking about it soon isA</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24779679/4404196954888240574/comments/default/513930920652068937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24779679/4404196954888240574/comments/default/513930920652068937'/><link rel='alternate' type='text/html' href='http://blog.modsaid.com/2008/11/writing-prettier-ruby-code-with.html?showComment=1226926560000#c513930920652068937' title=''/><author><name>mahmoud</name><uri>http://www.blogger.com/profile/09457586853819956435</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://bp0.blogger.com/_ntOcR9BKdOg/SH0DXdiUCfI/AAAAAAAAAEE/OmofyeFw22Q/s1600-R/n723440133_1073255_2028-large.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.modsaid.com/2008/11/writing-prettier-ruby-code-with.html' ref='tag:blogger.com,1999:blog-24779679.post-4404196954888240574' source='http://www.blogger.com/feeds/24779679/posts/default/4404196954888240574' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1909433115'/></entry><entry><id>tag:blogger.com,1999:blog-24779679.post-3837577857753439723</id><published>2008-11-17T03:11:00.000-08:00</published><updated>2008-11-17T03:11:00.000-08:00</updated><title type='text'>This is really cool :)&lt;br&gt;and you are so right abo...</title><content type='html'>This is really cool :)&lt;BR/&gt;and you are so right about the usage, it is very handy&lt;BR/&gt;&lt;BR/&gt;Thanks for the tip :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24779679/4404196954888240574/comments/default/3837577857753439723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24779679/4404196954888240574/comments/default/3837577857753439723'/><link rel='alternate' type='text/html' href='http://blog.modsaid.com/2008/11/writing-prettier-ruby-code-with.html?showComment=1226920260000#c3837577857753439723' title=''/><author><name>AhmedElGamil</name><uri>http://www.manhag.org</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.modsaid.com/2008/11/writing-prettier-ruby-code-with.html' ref='tag:blogger.com,1999:blog-24779679.post-4404196954888240574' source='http://www.blogger.com/feeds/24779679/posts/default/4404196954888240574' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-73910063'/></entry></feed>
