Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 5425

Show
Ignore:
Timestamp:
11/03/06 18:21:23 (2 years ago)
Author:
htonl
Message:

merge [5424] from trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1-2-pre-release/railties/lib/breakpoint.rb

    r5409 r5425  
    1818require 'irb' 
    1919if RUBY_VERSION == '1.8.5' 
    20   begin 
    21     require 'rubygems' 
    22     require 'breakpoint185' 
    23   rescue LoadError       
    24     def Binding.of_caller(&block) 
    25       raise """Breakpoints do not work in Ruby 1.8.5 without call_stack. 
    26 gem install call_stack or see http://eigenclass.org/hiki.rb?call_stack""" 
    27     end 
     20  def Binding.of_caller(&block) 
     21    raise "Breakpoints are not currently working with Ruby 1.8.5" 
    2822  end 
    2923else