<?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: Array.to_hash() in Ruby</title>
	<atom:link href="http://onemanswalk.com/work/2009/08/04/arrayto_hash-in-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://onemanswalk.com/work/2009/08/04/arrayto_hash-in-ruby/</link>
	<description>jeremy lightsmith on agile, ruby, and consulting</description>
	<lastBuildDate>Thu, 14 Jul 2011 22:58:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Devin Ben-Hur</title>
		<link>http://onemanswalk.com/work/2009/08/04/arrayto_hash-in-ruby/comment-page-1/#comment-134</link>
		<dc:creator>Devin Ben-Hur</dc:creator>
		<pubDate>Wed, 28 Oct 2009 16:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://onemanswalk.com/work/?p=171#comment-134</guid>
		<description>kikito: It&#039;s a feature of Ruby 1.9 Array#flatten.

http://ruby-doc.org/ruby-1.9/classes/Array.src/M000751.html

1.8.6 delivers ArgumentError.  1.8.7 appears to have backported it.

Jeremy: when you hoisted Ola&#039;s suggestion into your update, you used [] when you meant ().</description>
		<content:encoded><![CDATA[<p>kikito: It&#8217;s a feature of Ruby 1.9 Array#flatten.</p>
<p><a href="http://ruby-doc.org/ruby-1.9/classes/Array.src/M000751.html" rel="nofollow">http://ruby-doc.org/ruby-1.9/classes/Array.src/M000751.html</a></p>
<p>1.8.6 delivers ArgumentError.  1.8.7 appears to have backported it.</p>
<p>Jeremy: when you hoisted Ola&#8217;s suggestion into your update, you used [] when you meant ().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kikito</title>
		<link>http://onemanswalk.com/work/2009/08/04/arrayto_hash-in-ruby/comment-page-1/#comment-131</link>
		<dc:creator>kikito</dc:creator>
		<pubDate>Tue, 06 Oct 2009 14:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://onemanswalk.com/work/?p=171#comment-131</guid>
		<description>api*, sorry if your eyes hurt</description>
		<content:encoded><![CDATA[<p>api*, sorry if your eyes hurt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kikito</title>
		<link>http://onemanswalk.com/work/2009/08/04/arrayto_hash-in-ruby/comment-page-1/#comment-130</link>
		<dc:creator>kikito</dc:creator>
		<pubDate>Tue, 06 Oct 2009 14:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://onemanswalk.com/work/?p=171#comment-130</guid>
		<description>Hi guys,

How is this supposed to work? I don&#039;t see Array.flatten accepting any arguments on the ruby apy.</description>
		<content:encoded><![CDATA[<p>Hi guys,</p>
<p>How is this supposed to work? I don&#8217;t see Array.flatten accepting any arguments on the ruby apy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ola Bini</title>
		<link>http://onemanswalk.com/work/2009/08/04/arrayto_hash-in-ruby/comment-page-1/#comment-120</link>
		<dc:creator>Ola Bini</dc:creator>
		<pubDate>Tue, 04 Aug 2009 07:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://onemanswalk.com/work/?p=171#comment-120</guid>
		<description>If you care about subarrays, why don&#039;t you just give flatten an argument?
Hash[*self.flatten(1)] will give you what you want.</description>
		<content:encoded><![CDATA[<p>If you care about subarrays, why don&#8217;t you just give flatten an argument?<br />
Hash[*self.flatten(1)] will give you what you want.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

