<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Recent Posts in Programming Ruby | Pragmatic Forums</title>
    <link>http://forums.pragprog.com/forums/17/posts</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>rexml help posted by Bayard Webb @ Thu, 06 Nov 2008 02:45:29 -0000</title>
      <description>&lt;p&gt;As luck would have it, the mere act of posting my question resulted in a flash (at least a glimmer) of insight. Closer inspection of the example in the book got me the results I need.&lt;/p&gt;


	&lt;p&gt;I would still benefit from good sites regarding rexml.&lt;/p&gt;


	&lt;p&gt;Thanks and sorry for the bother.&lt;/p&gt;</description>
      <pubDate>Thu, 06 Nov 2008 02:45:29 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:17:1321:5882</guid>
      <author>Bayard Webb</author>
      <link>http://forums.pragprog.com/forums/17/topics/1321</link>
    </item>
    <item>
      <title>rexml help posted by Bayard Webb @ Thu, 06 Nov 2008 01:57:34 -0000</title>
      <description>&lt;p&gt;Noob warning.&lt;/p&gt;


	&lt;p&gt;I have a very simple parsing task that could be done with simple line input, but want to &amp;#8220;up my game&amp;#8221; and use an xml file format and read and write with rexml. The section in the book is brief, and the documentation sparse for a beginner.&lt;/p&gt;


	&lt;p&gt;I don&amp;#8217;t wish to drag this forum down with my lowly example, but am looking for sites that might help me out.&lt;/p&gt;


	&lt;p&gt;Thanks&lt;/p&gt;</description>
      <pubDate>Thu, 06 Nov 2008 01:57:34 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:17:1321:5881</guid>
      <author>Bayard Webb</author>
      <link>http://forums.pragprog.com/forums/17/topics/1321</link>
    </item>
    <item>
      <title>changes from 1.8.0 to 1.8.6? posted by stephan Orme @ Fri, 16 May 2008 13:51:00 -0000</title>
      <description>&lt;p&gt;Hi, I went looking for a changelog and only found the exquisitely detailed programmers change log, not a list of the significant changes. Does this exist? I&amp;#8217;m starting to read through version 2.0 of the book and just wanted to read through what might have changed from 1.8.0, what&amp;#8217;s covered in the book, to 1.8.6 the current release version, to eliminate some downstream frustration.&lt;/p&gt;


	&lt;p&gt;Also, any word on when 1.9 will be out and what the significant changes will be?&lt;/p&gt;


	&lt;p&gt;much obliged,&lt;br /&gt;-s&lt;/p&gt;</description>
      <pubDate>Fri, 16 May 2008 13:51:00 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:17:436:2816</guid>
      <author>stephan Orme</author>
      <link>http://forums.pragprog.com/forums/17/topics/436</link>
    </item>
    <item>
      <title>Nesting Modules in a hierarchy posted by Ahmet Dogramaci @ Fri, 09 May 2008 14:13:27 -0000</title>
      <description>&lt;p&gt;I am coming from Java to Ruby.  I actually used Ruby on Rails in one of my client&amp;#8217;s projects, but I did not understand it well at the time.  Now I am trying to understand the language well so that I can create better and bigger programs.&lt;/p&gt;


	&lt;p&gt;One of the things that I did not understand well was namespaces and modules.  In Programming Ruby it says that modules give you a namespace, but it never mentions that you can actually nest modules to create module hierarchies.  Without the nesting, I was thinking you would have a flat namespace and end up with very long module names, or name clashes with the libraries that you use.  The nesting actually gives you a facility similar to packages in Java.  I think mentioning this in the new version of the book would help programmers.&lt;/p&gt;</description>
      <pubDate>Fri, 09 May 2008 14:13:27 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:17:418:2760</guid>
      <author>Ahmet Dogramaci</author>
      <link>http://forums.pragprog.com/forums/17/topics/418</link>
    </item>
    <item>
      <title>debugger pickaxe vs vs 186-26 posted by Wes Rishel @ Sun, 09 Dec 2007 06:00:52 -0000</title>
      <description>&lt;p&gt;The first time I tried to use the debugger was in 186 and I am seeing something different than in v2 of the book on page 163. Or perhaps I am doing something wrong.&lt;/p&gt;


	&lt;p&gt;In the book it appears that when you run with the debugger option, such as this&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;ruby.exe -r debug t.rb&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;you end up with the debugger looking at the source file (e.g., t.rb).&lt;/p&gt;


	&lt;p&gt;However, when I run it I end up in some Ruby module:&lt;/p&gt;


	&lt;p&gt;ruby.exe -r debug t.rb&lt;br /&gt;C:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:10:require &amp;#8216;rubygems&amp;#8217;&lt;br /&gt;(rdb:1) l&lt;br /&gt;[5, 14] in C:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb
   5  # All rights reserved.
   6  # See &lt;span class="caps"&gt;LICENSE&lt;/span&gt;.txt for permissions.
   7  #++
   8
   9&lt;br /&gt;=&amp;gt; 10  require &amp;#8216;rubygems&amp;#8217;&lt;/p&gt;


	&lt;p&gt;The work-around seems pretty simple: set a breakpoint in your own file and type C, as below.&lt;/p&gt;


	&lt;p&gt;I thought you might want to know, in order to update the book.&lt;/p&gt;


	&lt;p&gt;(rdb:1) b t.rb:3&lt;br /&gt;Set breakpoint 1 at t.rb:3&lt;br /&gt;(rdb:1) c&lt;br /&gt;Breakpoint 1, toplevel at t.rb:3&lt;/p&gt;</description>
      <pubDate>Sun, 09 Dec 2007 06:00:52 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:17:161:1999</guid>
      <author>Wes Rishel</author>
      <link>http://forums.pragprog.com/forums/17/topics/161</link>
    </item>
    <item>
      <title>class &amp;lt;&amp;lt;Time ? posted by Claude Crider @ Mon, 03 Dec 2007 13:14:12 -0000</title>
      <description>&lt;p&gt;Gamont,&lt;/p&gt;


	&lt;p&gt;Doesn&amp;#8217;t look like you are getting a lot of help. You posted this question over 2 weeks ago and no response. I&amp;#8217;m having the same problem. I admit I&amp;#8217;m a total idiot and Ruby newbie, but I&amp;#8217;ve posted questions to the local Ruby users group with no response.&lt;/p&gt;


	&lt;p&gt;I keep reading how active the Ruby users community is, but I&amp;#8217;m not seeing it.&lt;/p&gt;


	&lt;p&gt;There don&amp;#8217;t seem to be any Prag Prog books on basic Ruby/Rails debugging techniques. The appendices just say to post questions.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m getting fairly discouraged.&lt;/p&gt;


	&lt;p&gt;Good luck!&lt;/p&gt;</description>
      <pubDate>Mon, 03 Dec 2007 13:14:12 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:17:138:1986</guid>
      <author>Claude Crider</author>
      <link>http://forums.pragprog.com/forums/17/topics/138</link>
    </item>
    <item>
      <title>class &amp;lt;&amp;lt;Time ? posted by Gamont @ Mon, 12 Nov 2007 13:45:08 -0000</title>
      <description>&lt;p&gt;i find about class &amp;lt;&amp;lt;obj&gt;&lt;br /&gt;but the example file (not that in book)  about condition variable shows this inner class:&lt;/p&gt;


	&lt;p&gt;class &amp;lt;&amp;lt;Time
  alias old_now now
  def now
    old_now.to_f * &lt;span class="caps"&gt;FACTOR&lt;/span&gt;
  end&lt;br /&gt;end&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;And running the code Time.now uses this definition.&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;I would like some explanation how this works.&lt;/p&gt;


	&lt;p&gt;thanks !&lt;/p&gt;</description>
      <pubDate>Mon, 12 Nov 2007 13:45:08 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:17:138:1928</guid>
      <author>Gamont</author>
      <link>http://forums.pragprog.com/forums/17/topics/138</link>
    </item>
  </channel>
</rss>
