<?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: My solution to RPCFN 2</title>
	<atom:link href="http://giordano.scalzo.biz/2009/10/20/my-solution-to-rpcfn-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://giordano.scalzo.biz/2009/10/20/my-solution-to-rpcfn-2/</link>
	<description>Just another useless weblog</description>
	<lastBuildDate>Sun, 29 Jan 2012 05:27:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: giordano scalzo</title>
		<link>http://giordano.scalzo.biz/2009/10/20/my-solution-to-rpcfn-2/comment-page-1/#comment-54</link>
		<dc:creator>giordano scalzo</dc:creator>
		<pubDate>Wed, 28 Oct 2009 14:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://giordano.scalzo.biz/?p=188#comment-54</guid>
		<description>woops!
the correct one is
&lt;pre class=&quot;brush: ruby&quot;&gt;
	context &#039;for &quot;11:59pm&quot; and &quot;12:01am&#039; do
		it &#039;should be &quot;12:00am&quot;&#039; do
			avg = average_time_of_day([&quot;11:59pm&quot;, &quot;00:01am&quot;])
			avg.should == &quot;12:00am&quot;
		end
	end
&lt;/pre&gt;

I misread this comment http://rubylearning.com/blog/2009/10/08/rpcfn-average-arrival-time-for-a-flight-2/comment-page-1/#comment-119541.

thanx to point it out.</description>
		<content:encoded><![CDATA[<p>woops!<br />
the correct one is</p>
<pre class="brush: ruby">
	context 'for "11:59pm" and "12:01am' do
		it 'should be "12:00am"' do
			avg = average_time_of_day(["11:59pm", "00:01am"])
			avg.should == "12:00am"
		end
	end
</pre>
<p>I misread this comment <a href="http://rubylearning.com/blog/2009/10/08/rpcfn-average-arrival-time-for-a-flight-2/comment-page-1/#comment-119541" rel="nofollow">http://rubylearning.com/blog/2009/10/08/rpcfn-average-arrival-time-for-a-flight-2/comment-page-1/#comment-119541</a>.</p>
<p>thanx to point it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pietro Di Bello</title>
		<link>http://giordano.scalzo.biz/2009/10/20/my-solution-to-rpcfn-2/comment-page-1/#comment-53</link>
		<dc:creator>Pietro Di Bello</dc:creator>
		<pubDate>Wed, 28 Oct 2009 13:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://giordano.scalzo.biz/?p=188#comment-53</guid>
		<description>It seems to me that a spec is incorrect, since 23:59pm doesn&#039;t make sense to me (even if I guess this test is still green). 

&lt;pre class=&quot;brush: ruby&quot;&gt;
context &#039;for &quot;23:59pm&quot; and &quot;12:01am&#039; do
  it &#039;should be &quot;12:00am&quot;&#039; do
    avg = average_time_of_day([&quot;23:59pm&quot;, &quot;00:01am&quot;])
    avg.should == &quot;12:00am&quot;
  end
end
&lt;/pre&gt;

anyway, good job!</description>
		<content:encoded><![CDATA[<p>It seems to me that a spec is incorrect, since 23:59pm doesn&#8217;t make sense to me (even if I guess this test is still green). </p>
<pre class="brush: ruby">
context 'for "23:59pm" and "12:01am' do
  it 'should be "12:00am"' do
    avg = average_time_of_day(["23:59pm", "00:01am"])
    avg.should == "12:00am"
  end
end
</pre>
<p>anyway, good job!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

