<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: DWITE 2006 &#8211; now with Ruby</title>
	<atom:link href="http://compsci.ca/blog/dwite-2006-now-with-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://compsci.ca/blog/dwite-2006-now-with-ruby/</link>
	<description>Programming, Education, Computer Science</description>
	<lastBuildDate>Thu, 24 Feb 2011 18:08:53 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: wtd</title>
		<link>http://compsci.ca/blog/dwite-2006-now-with-ruby/comment-page-1/#comment-28</link>
		<dc:creator>wtd</dc:creator>
		<pubDate>Fri, 03 Nov 2006 18:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://compsci.ca/blog/dwite-2006-now-with-ruby/#comment-28</guid>
		<description>Your solution can be made much cleaner:

File.new(&quot;OUT11.txt&quot;, &quot;w&quot;) do &#124;out&#124;
   IO.foreach(&quot;DATA11.txt&quot;) do &#124;line&#124;
      out.printf &quot;%0.2f\n&quot;, num.to_f ** 2
   end
end</description>
		<content:encoded><![CDATA[<p>Your solution can be made much cleaner:</p>
<p>File.new(&#8221;OUT11.txt&#8221;, &#8220;w&#8221;) do |out|<br />
   IO.foreach(&#8221;DATA11.txt&#8221;) do |line|<br />
      out.printf &#8220;%0.2f\n&#8221;, num.to_f ** 2<br />
   end<br />
end</p>
]]></content:encoded>
	</item>
</channel>
</rss>


