<?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>dom111.co.uk &#187; inflections</title>
	<atom:link href="http://www.dom111.co.uk/blog/tag/inflections/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dom111.co.uk/blog</link>
	<description>Move along. Nothing to see here.</description>
	<lastBuildDate>Wed, 14 Jul 2010 19:30:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>jsInflections &#8211; Ruby style inflections for Javascript</title>
		<link>http://www.dom111.co.uk/blog/coding/jsinflections-ruby-style-inflections-for-javascript/76</link>
		<comments>http://www.dom111.co.uk/blog/coding/jsinflections-ruby-style-inflections-for-javascript/76#comments</comments>
		<pubDate>Wed, 14 Jan 2009 01:23:21 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[inflections]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=76</guid>
		<description><![CDATA[Small class, that handles inflections like ruby for javascript strings, eg: alert&#40;'cow'.pluralize&#40;&#41;&#41;; // alerts cows alert&#40;'cows'.singularize&#40;&#41;&#41;; // alerts cow Pretty simple, all methods except constantize have been replicated. This file is probably mostly the work of the rails team, so the same license applies to this, as rails itself. Download (3.3KB)]]></description>
			<content:encoded><![CDATA[<p>Small class, that handles inflections like ruby for javascript strings, eg:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'cow'</span>.<span style="color: #660066;">pluralize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #006600; font-style: italic;">// alerts cows</span>
<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'cows'</span>.<span style="color: #660066;">singularize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// alerts cow</span></pre></div></div>

<p>Pretty simple, all methods except constantize have been replicated.</p>
<p>This file is probably mostly the work of the rails team, so the same license applies to this, as rails itself.</p>
<p><a href="/files/inflections/inflections-0.1.tar.gz">Download (3.3KB)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/jsinflections-ruby-style-inflections-for-javascript/76/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
