<?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: Adding methods to a ruby class</title>
	<atom:link href="http://www.devco.net/archives/2010/02/05/adding_methods_to_a_ruby_class.php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.devco.net/archives/2010/02/05/adding_methods_to_a_ruby_class.php</link>
	<description>www.devco.net</description>
	<lastBuildDate>Mon, 26 Jul 2010 06:35:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: R.I. Pienaar</title>
		<link>http://www.devco.net/archives/2010/02/05/adding_methods_to_a_ruby_class.php/comment-page-1#comment-4662</link>
		<dc:creator>R.I. Pienaar</dc:creator>
		<pubDate>Thu, 11 Feb 2010 23:36:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.devco.net/?p=1273#comment-4662</guid>
		<description>I am using it as above, an mcollective agent can either say:

&lt;pre lang=&quot;ruby&quot;&gt;
def foo_action
end
&lt;/pre&gt;

or use:

&lt;pre lang=&quot;ruby&quot;&gt;
action &quot;foo&quot; do
end
&lt;/pre&gt;

It&#039;s just little tricks to make things look more like a DSL and less like a full on scary programming language</description>
		<content:encoded><![CDATA[<p>I am using it as above, an mcollective agent can either say:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">def</span> foo_action
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>or use:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">action <span style="color:#996600;">&quot;foo&quot;</span> <span style="color:#9966CC; font-weight:bold;">do</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>It&#8217;s just little tricks to make things look more like a DSL and less like a full on scary programming language</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy</title>
		<link>http://www.devco.net/archives/2010/02/05/adding_methods_to_a_ruby_class.php/comment-page-1#comment-4661</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Thu, 11 Feb 2010 23:32:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.devco.net/?p=1273#comment-4661</guid>
		<description>Hello,

That looks like it would be very useful, but I&#039;m not sure I follow.  Do you have an example piece of code that you&#039;ve used this example that you could share?</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>That looks like it would be very useful, but I&#8217;m not sure I follow.  Do you have an example piece of code that you&#8217;ve used this example that you could share?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
