<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	>
<channel>
	<title>Comments on: Learning Ruby &#8211; Day 2</title>
	<atom:link href="http://garrickvanburen.com/archive/learning-ruby-day-2/feed" rel="self" type="application/rss+xml" />
	<link>http://garrickvanburen.com/archive/learning-ruby-day-2</link>
	<description>User Experience Strategy, Ruby and Rails Web App Development</description>
	<lastBuildDate>Sat, 20 Mar 2010 01:04:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: flgr</title>
		<link>http://garrickvanburen.com/archive/learning-ruby-day-2/comment-page-1#comment-34</link>
		<dc:creator>flgr</dc:creator>
		<pubDate>Mon, 04 Apr 2005 23:27:09 +0000</pubDate>
		<guid isPermaLink="false">http://garrickvanburen.com/archive/learning-ruby-day-2#comment-34</guid>
		<description>And while we&#039;re talking about debugging and asking objects what they do: I think that talking with your objects is an excellent way of debugging them. Therefore I decided to write the ruby-breakpoint library (see http://ruby-breakpoint.rubyforge.org/) which lets you spawn an IRB shell at any point of your code and then investigate what happened. You can even hot-fix your code at run-time and there is guys who are using this as a maintenance hatch into their code.

It comes as a part of RubyOnRails but is also available as a stand-alone library.</description>
		<content:encoded><![CDATA[<p>And while we&#8217;re talking about debugging and asking objects what they do: I think that talking with your objects is an excellent way of debugging them. Therefore I decided to write the ruby-breakpoint library (see <a href="http://ruby-breakpoint.rubyforge.org/)" rel="nofollow">http://ruby-breakpoint.rubyforge.org/)</a> which lets you spawn an IRB shell at any point of your code and then investigate what happened. You can even hot-fix your code at run-time and there is guys who are using this as a maintenance hatch into their code.</p>
<p>It comes as a part of RubyOnRails but is also available as a stand-alone library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garrick Van Buren</title>
		<link>http://garrickvanburen.com/archive/learning-ruby-day-2/comment-page-1#comment-27</link>
		<dc:creator>Garrick Van Buren</dc:creator>
		<pubDate>Wed, 30 Mar 2005 16:56:21 +0000</pubDate>
		<guid isPermaLink="false">http://garrickvanburen.com/archive/learning-ruby-day-2#comment-27</guid>
		<description>Rik, thanks for the clarification and the example.</description>
		<content:encoded><![CDATA[<p>Rik, thanks for the clarification and the example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rik Hemsley</title>
		<link>http://garrickvanburen.com/archive/learning-ruby-day-2/comment-page-1#comment-26</link>
		<dc:creator>Rik Hemsley</dc:creator>
		<pubDate>Wed, 30 Mar 2005 09:51:53 +0000</pubDate>
		<guid isPermaLink="false">http://garrickvanburen.com/archive/learning-ruby-day-2#comment-26</guid>
		<description>Time.now + Time.now isn&#039;t adding two strings together. It&#039;s adding two objects of class Time together.

irb(main):001:0&gt; Time.now.class
=&gt; Time

You can&#039;t add two times together in Ruby because you can&#039;t do it in real life: times aren&#039;t numbers.

You can, of course, subtract one time from another, to give a difference in seconds.

irb(main):001:0&gt; t = Time.now
=&gt; Wed Mar 30 10:50:44 GMT0:00 2005
irb(main):002:0&gt; t2 = t + 20
=&gt; Wed Mar 30 10:51:04 GMT0:00 2005
irb(main):003:0&gt; t2 - t
=&gt; 20.0</description>
		<content:encoded><![CDATA[<p>Time.now + Time.now isn&#8217;t adding two strings together. It&#8217;s adding two objects of class Time together.</p>
<p>irb(main):001:0> Time.now.class<br />
=> Time</p>
<p>You can&#8217;t add two times together in Ruby because you can&#8217;t do it in real life: times aren&#8217;t numbers.</p>
<p>You can, of course, subtract one time from another, to give a difference in seconds.</p>
<p>irb(main):001:0> t = Time.now<br />
=> Wed Mar 30 10:50:44 GMT0:00 2005<br />
irb(main):002:0> t2 = t + 20<br />
=> Wed Mar 30 10:51:04 GMT0:00 2005<br />
irb(main):003:0> t2 &#8211; t<br />
=> 20.0</p>
]]></content:encoded>
	</item>
</channel>
</rss>
