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

ruby-changes:35184

From: hsbt <ko1@a...>
Date: Sun, 24 Aug 2014 16:16:35 +0900 (JST)
Subject: [ruby-changes:35184] hsbt:r47266 (trunk): * lib/e2mmap.rb: remove needless instance variables.

hsbt	2014-08-24 16:16:25 +0900 (Sun, 24 Aug 2014)

  New Revision: 47266

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

  Log:
    * lib/e2mmap.rb: remove needless instance variables.
    * lib/irb.rb: ditto.
    * lib/irb/**/*.rb: ditto.
    * lib/shell.rb: ditto.

  Modified files:
    trunk/ChangeLog
    trunk/lib/e2mmap.rb
    trunk/lib/irb/cmd/fork.rb
    trunk/lib/irb/cmd/nop.rb
    trunk/lib/irb/completion.rb
    trunk/lib/irb/ext/history.rb
    trunk/lib/irb/ext/loader.rb
    trunk/lib/irb/ext/multi-irb.rb
    trunk/lib/irb/ext/save-history.rb
    trunk/lib/irb/input-method.rb
    trunk/lib/irb/locale.rb
    trunk/lib/irb/ruby-lex.rb
    trunk/lib/irb/slex.rb
    trunk/lib/irb/xmp.rb
    trunk/lib/irb.rb
    trunk/lib/shell.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47265)
+++ ChangeLog	(revision 47266)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Aug 24 16:14:46 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* lib/e2mmap.rb: remove needless instance variables.
+	* lib/irb.rb: ditto.
+	* lib/irb/**/*.rb: ditto.
+	* lib/shell.rb: ditto.
+
 Sun Aug 24 12:44:26 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* test/ruby/test_complex.rb: removed needless conditions.
Index: lib/shell.rb
===================================================================
--- lib/shell.rb	(revision 47265)
+++ lib/shell.rb	(revision 47266)
@@ -87,7 +87,6 @@ require "shell/process-controller" https://github.com/ruby/ruby/blob/trunk/lib/shell.rb#L87
 #   (sh.cat < "/etc/printcap") | sh.tee("tee11") >> "tee12"
 #
 class Shell
-  @RCS_ID='-$Id: shell.rb,v 1.9 2002/03/04 12:01:10 keiju Exp keiju $-'
 
   include Error
   extend Exception2MessageMapper
Index: lib/e2mmap.rb
===================================================================
--- lib/e2mmap.rb	(revision 47265)
+++ lib/e2mmap.rb	(revision 47266)
@@ -52,7 +52,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/e2mmap.rb#L52
 #
 #
 module Exception2MessageMapper
-  @RCS_ID='-$Id: e2mmap.rb,v 1.10 1999/02/17 12:33:17 keiju Exp keiju $-'
 
   E2MM = Exception2MessageMapper # :nodoc:
 
Index: lib/irb/input-method.rb
===================================================================
--- lib/irb/input-method.rb	(revision 47265)
+++ lib/irb/input-method.rb	(revision 47266)
@@ -14,7 +14,6 @@ require 'irb/magic-file' https://github.com/ruby/ruby/blob/trunk/lib/irb/input-method.rb#L14
 module IRB
   STDIN_FILE_NAME = "(line)" # :nodoc:
   class InputMethod
-    @RCS_ID='-$Id$-'
 
     # Creates a new input method object
     def initialize(file = STDIN_FILE_NAME)
Index: lib/irb/ext/save-history.rb
===================================================================
--- lib/irb/ext/save-history.rb	(revision 47265)
+++ lib/irb/ext/save-history.rb	(revision 47266)
@@ -12,7 +12,6 @@ require "readline" https://github.com/ruby/ruby/blob/trunk/lib/irb/ext/save-history.rb#L12
 
 module IRB
   module HistorySavingAbility # :nodoc:
-    @RCS_ID='-$Id$-'
   end
 
   class Context
Index: lib/irb/ext/history.rb
===================================================================
--- lib/irb/ext/history.rb	(revision 47265)
+++ lib/irb/ext/history.rb	(revision 47266)
@@ -58,7 +58,6 @@ module IRB # :nodoc: https://github.com/ruby/ruby/blob/trunk/lib/irb/ext/history.rb#L58
   end
 
   class History # :nodoc:
-    @RCS_ID='-$Id$-'
 
     def initialize(size = 16)
       @size = size
Index: lib/irb/ext/multi-irb.rb
===================================================================
--- lib/irb/ext/multi-irb.rb	(revision 47265)
+++ lib/irb/ext/multi-irb.rb	(revision 47266)
@@ -13,7 +13,6 @@ require "thread" https://github.com/ruby/ruby/blob/trunk/lib/irb/ext/multi-irb.rb#L13
 
 module IRB
   class JobManager
-    @RCS_ID='-$Id$-'
 
     # Creates a new JobManager object
     def initialize
Index: lib/irb/ext/loader.rb
===================================================================
--- lib/irb/ext/loader.rb	(revision 47265)
+++ lib/irb/ext/loader.rb	(revision 47266)
@@ -18,7 +18,6 @@ module IRB # :nodoc: https://github.com/ruby/ruby/blob/trunk/lib/irb/ext/loader.rb#L18
   #
   # See ExtendCommandBundle for more information.
   module IrbLoader
-    @RCS_ID='-$Id$-'
 
     alias ruby_load load
     alias ruby_require require
Index: lib/irb/locale.rb
===================================================================
--- lib/irb/locale.rb	(revision 47265)
+++ lib/irb/locale.rb	(revision 47266)
@@ -10,7 +10,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/irb/locale.rb#L10
 #
 module IRB # :nodoc:
   class Locale
-    @RCS_ID='-$Id$-'
 
     LOCALE_NAME_RE = %r[
       (?<language>[[:alpha:]]{2,3})
Index: lib/irb/cmd/fork.rb
===================================================================
--- lib/irb/cmd/fork.rb	(revision 47265)
+++ lib/irb/cmd/fork.rb	(revision 47266)
@@ -9,7 +9,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/irb/cmd/fork.rb#L9
 #
 #
 
-@RCS_ID='-$Id$-'
 
 # :stopdoc:
 module IRB
Index: lib/irb/cmd/nop.rb
===================================================================
--- lib/irb/cmd/nop.rb	(revision 47265)
+++ lib/irb/cmd/nop.rb	(revision 47266)
@@ -13,7 +13,6 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/cmd/nop.rb#L13
   module ExtendCommand
     class Nop
 
-      @RCS_ID='-$Id$-'
 
       def self.execute(conf, *opts)
         command = new(conf)
Index: lib/irb/xmp.rb
===================================================================
--- lib/irb/xmp.rb	(revision 47265)
+++ lib/irb/xmp.rb	(revision 47266)
@@ -43,7 +43,6 @@ require "irb/frame" https://github.com/ruby/ruby/blob/trunk/lib/irb/xmp.rb#L43
 #     ctx.eval 'today # is what?'
 #     #=> "a good day"
 class XMP
-  @RCS_ID='-$Id$-'
 
   # Creates a new XMP object.
   #
Index: lib/irb/ruby-lex.rb
===================================================================
--- lib/irb/ruby-lex.rb	(revision 47265)
+++ lib/irb/ruby-lex.rb	(revision 47266)
@@ -15,7 +15,6 @@ require "irb/ruby-token" https://github.com/ruby/ruby/blob/trunk/lib/irb/ruby-lex.rb#L15
 
 # :stopdoc:
 class RubyLex
-  @RCS_ID='-$Id$-'
 
   extend Exception2MessageMapper
   def_exception(:AlreadyDefinedToken, "Already defined token(%s)")
Index: lib/irb/completion.rb
===================================================================
--- lib/irb/completion.rb	(revision 47265)
+++ lib/irb/completion.rb	(revision 47266)
@@ -11,7 +11,6 @@ require "readline" https://github.com/ruby/ruby/blob/trunk/lib/irb/completion.rb#L11
 module IRB
   module InputCompletor # :nodoc:
 
-    @RCS_ID='-$Id$-'
 
     # Set of reserved words used by Ruby, you should not use these for
     # constants or variables
Index: lib/irb/slex.rb
===================================================================
--- lib/irb/slex.rb	(revision 47265)
+++ lib/irb/slex.rb	(revision 47266)
@@ -15,7 +15,6 @@ require "irb/notifier" https://github.com/ruby/ruby/blob/trunk/lib/irb/slex.rb#L15
 # :stopdoc:
 module IRB
   class SLex
-    @RCS_ID='-$Id$-'
 
     extend Exception2MessageMapper
     def_exception :ErrNodeNothing, "node nothing"
Index: lib/irb.rb
===================================================================
--- lib/irb.rb	(revision 47265)
+++ lib/irb.rb	(revision 47266)
@@ -336,7 +336,6 @@ STDOUT.sync = true https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L336
 #   # quit irb
 #   irb(main):010:0> exit
 module IRB
-  @RCS_ID='-$Id$-'
 
   # An exception raised by IRB.irb_abort
   class Abort < Exception;end

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

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