aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-19 02:12:40 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-19 02:12:40 +0000
commit7a8a264f1d5e656fb2168f5d35e68eb0e49b4c2e (patch)
tree8d7bec9da0ea70bbdc4d7388d474239107eff9c1 /lib/irb.rb
parentb77773f44dfbd7eacc115d0a20ac6cab7d118e42 (diff)
downloadruby-7a8a264f1d5e656fb2168f5d35e68eb0e49b4c2e.tar.gz
* lib/irb.rb: remove double exclamation marks. a patch from Diego
Viola. [ruby-core:30589] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index 7a9d438b5b..d3bab8978f 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -85,9 +85,9 @@ module IRB
def IRB.irb_abort(irb, exception = Abort)
if defined? Thread
- irb.context.thread.raise exception, "abort then interrupt!!"
+ irb.context.thread.raise exception, "abort then interrupt!"
else
- raise exception, "abort then interrupt!!"
+ raise exception, "abort then interrupt!"
end
end
@@ -195,7 +195,7 @@ module IRB
printf "... %d levels...\n", levels if levels > 0
print lasts.join("\n")
end
- print "Maybe IRB bug!!\n" if irb_bug
+ print "Maybe IRB bug!\n" if irb_bug
end
if $SAFE > 2
abort "Error: irb does not work for $SAFE level higher than 2"
@@ -245,7 +245,7 @@ module IRB
def signal_handle
unless @context.ignore_sigint?
- print "\nabort!!\n" if @context.verbose?
+ print "\nabort!\n" if @context.verbose?
exit
end