[前][次][番号順一覧][スレッド一覧]

ruby-changes:16382

From: matz <ko1@a...>
Date: Sat, 19 Jun 2010 11:15:02 +0900 (JST)
Subject: [ruby-changes:16382] Ruby:r28363 (trunk): * lib/irb.rb: remove double exclamation marks. a patch from Diego

matz	2010-06-19 11:12:40 +0900 (Sat, 19 Jun 2010)

  New Revision: 28363

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28363

  Log:
    * lib/irb.rb: remove double exclamation marks.  a patch from Diego
      Viola.  [ruby-core:30589]

  Modified files:
    trunk/ChangeLog
    trunk/lib/irb.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28362)
+++ ChangeLog	(revision 28363)
@@ -1,3 +1,8 @@
+Sat Jun 19 11:11:37 2010  Yukihiro Matsumoto  <matz@r...>
+
+	* lib/irb.rb: remove double exclamation marks.  a patch from Diego
+	  Viola.  [ruby-core:30589]
+
 Sat Jun 19 03:35:58 2010  Aaron Patterson <aaron@t...>
 
 	* ext/psych/lib/psych/visitors/to_ruby.rb (resolve_klass): fix the
Index: lib/irb.rb
===================================================================
--- lib/irb.rb	(revision 28362)
+++ lib/irb.rb	(revision 28363)
@@ -85,9 +85,9 @@
 
   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 @@
 	      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 @@
 
     def signal_handle
       unless @context.ignore_sigint?
-	print "\nabort!!\n" if @context.verbose?
+	print "\nabort!\n" if @context.verbose?
 	exit
       end
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]