aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/breakpoint.rb
diff options
context:
space:
mode:
authorScott Barron <scott@elitists.net>2006-11-02 05:00:35 +0000
committerScott Barron <scott@elitists.net>2006-11-02 05:00:35 +0000
commit61bcbfbb9ca3fa4737dd20e1e6278c7b537c3337 (patch)
treecdb24bbbbab8b07770ce5bf00df2b8df84a8b3f4 /railties/lib/breakpoint.rb
parentfa58808d08236c2453f31256d101c964c5b38a6c (diff)
downloadrails-61bcbfbb9ca3fa4737dd20e1e6278c7b537c3337.tar.gz
rails-61bcbfbb9ca3fa4737dd20e1e6278c7b537c3337.tar.bz2
rails-61bcbfbb9ca3fa4737dd20e1e6278c7b537c3337.zip
Little better formatting of this string.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5393 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/breakpoint.rb')
-rw-r--r--railties/lib/breakpoint.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/railties/lib/breakpoint.rb b/railties/lib/breakpoint.rb
index 1b021e11e5..0220c01fb8 100644
--- a/railties/lib/breakpoint.rb
+++ b/railties/lib/breakpoint.rb
@@ -14,6 +14,10 @@
# one that allows for commercial usage.) If you for
# some good reason need to use this under another
# license please contact me.
+"""
+foo
+bar
+"""
require 'irb'
if RUBY_VERSION == '1.8.5'
@@ -22,10 +26,8 @@ if RUBY_VERSION == '1.8.5'
require 'breakpoint185'
rescue LoadError
def Binding.of_caller(&block)
- raise x=<<EOS
-Breakpoints do not work in Ruby 1.8.5 without call_stack.
-gem install call_stack or see http://eigenclass.org/hiki.rb?call_stack
-EOS
+ raise """Breakpoints do not work in Ruby 1.8.5 without call_stack.
+gem install call_stack or see http://eigenclass.org/hiki.rb?call_stack"""
end
end
else