Permalink
Browse files

Little better formatting of this string.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5393 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent fa58808 commit 61bcbfbb9ca3fa4737dd20e1e6278c7b537c3337 Scott Barron committed Nov 2, 2006
Showing with 6 additions and 4 deletions.
  1. +6 −4 railties/lib/breakpoint.rb
View
@@ -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 @@
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

0 comments on commit 61bcbfb

Please sign in to comment.