<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Riding The Breeze &#187; Ruby</title>
	<atom:link href="http://www.iliveinperego.com/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iliveinperego.com</link>
	<description>Yes !</description>
	<lastBuildDate>Fri, 12 Feb 2010 09:46:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Get last day of the month with Ruby</title>
		<link>http://www.iliveinperego.com/2007/02/get-last-day-of-the-month-with-ruby/</link>
		<comments>http://www.iliveinperego.com/2007/02/get-last-day-of-the-month-with-ruby/#comments</comments>
		<pubDate>Thu, 08 Feb 2007 14:38:26 +0000</pubDate>
		<dc:creator>simone</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.iliveinperego.com/get-last-day-of-the-month-with-ruby</guid>
		<description><![CDATA[last_day_of_the_month = (Date.parse(year_to_process + "-" + (month_to_process.to_i + 1).to_s + "-01") - 1).mday().to_s rescue "31"
The final rescue is due to catch the error when month_to_process is 12.
]]></description>
			<content:encoded><![CDATA[<p><code>last_day_of_the_month = (Date.parse(year_to_process + "-" + (month_to_process.to_i + 1).to_s + "-01") - 1).mday().to_s rescue "31"</code></p>
<p>The final <em>rescue</em> is due to catch the error when <em>month_to_process</em> is 12.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iliveinperego.com/2007/02/get-last-day-of-the-month-with-ruby/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
