Thanks. I wish they could've included that in the book.
 I also had problems using the 'Profile' in irb. I used the code in the 
book:

require 'profile'
class Calculator
  def self.count_to_large_number
    x = 0
    100000.times {x += 1 }
  end

  def self.count_to_small_number
    x = 0
    1000.times {x += 1 }
  end
end
 but only got '100000' and '1000' when I called the methods o for Small 
and large number. smh!

-- 
Posted via http://www.ruby-forum.com/.