From 2afed6eceff2951b949db7ded8167a75b431bad6 Mon Sep 17 00:00:00 2001 From: hsbt Date: Sun, 24 Aug 2014 07:16:25 +0000 Subject: * lib/e2mmap.rb: remove needless instance variables. * lib/irb.rb: ditto. * lib/irb/**/*.rb: ditto. * lib/shell.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ lib/e2mmap.rb | 1 - lib/irb.rb | 1 - lib/irb/cmd/fork.rb | 1 - lib/irb/cmd/nop.rb | 1 - lib/irb/completion.rb | 1 - lib/irb/ext/history.rb | 1 - lib/irb/ext/loader.rb | 1 - lib/irb/ext/multi-irb.rb | 1 - lib/irb/ext/save-history.rb | 1 - lib/irb/input-method.rb | 1 - lib/irb/locale.rb | 1 - lib/irb/ruby-lex.rb | 1 - lib/irb/slex.rb | 1 - lib/irb/xmp.rb | 1 - lib/shell.rb | 1 - 16 files changed, 7 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 29bbdf0add..e57b740526 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sun Aug 24 16:14:46 2014 SHIBATA Hiroshi + + * 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 * test/ruby/test_complex.rb: removed needless conditions. diff --git a/lib/e2mmap.rb b/lib/e2mmap.rb index 47761bb398..1eb5b51678 100644 --- a/lib/e2mmap.rb +++ b/lib/e2mmap.rb @@ -52,7 +52,6 @@ # # module Exception2MessageMapper - @RCS_ID='-$Id: e2mmap.rb,v 1.10 1999/02/17 12:33:17 keiju Exp keiju $-' E2MM = Exception2MessageMapper # :nodoc: diff --git a/lib/irb.rb b/lib/irb.rb index 1bbb6eceb8..09556c8bc5 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -336,7 +336,6 @@ STDOUT.sync = true # # quit irb # irb(main):010:0> exit module IRB - @RCS_ID='-$Id$-' # An exception raised by IRB.irb_abort class Abort < Exception;end diff --git a/lib/irb/cmd/fork.rb b/lib/irb/cmd/fork.rb index e74b2485c0..1e02edac63 100644 --- a/lib/irb/cmd/fork.rb +++ b/lib/irb/cmd/fork.rb @@ -9,7 +9,6 @@ # # -@RCS_ID='-$Id$-' # :stopdoc: module IRB diff --git a/lib/irb/cmd/nop.rb b/lib/irb/cmd/nop.rb index 880bfb8137..60379f016a 100644 --- a/lib/irb/cmd/nop.rb +++ b/lib/irb/cmd/nop.rb @@ -13,7 +13,6 @@ module IRB module ExtendCommand class Nop - @RCS_ID='-$Id$-' def self.execute(conf, *opts) command = new(conf) diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index 05b1ed4873..2d47f33d66 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -11,7 +11,6 @@ require "readline" module IRB module InputCompletor # :nodoc: - @RCS_ID='-$Id$-' # Set of reserved words used by Ruby, you should not use these for # constants or variables diff --git a/lib/irb/ext/history.rb b/lib/irb/ext/history.rb index 0096357c9c..d8378753f2 100644 --- a/lib/irb/ext/history.rb +++ b/lib/irb/ext/history.rb @@ -58,7 +58,6 @@ module IRB # :nodoc: end class History # :nodoc: - @RCS_ID='-$Id$-' def initialize(size = 16) @size = size diff --git a/lib/irb/ext/loader.rb b/lib/irb/ext/loader.rb index 054ce6b0d1..821538cd44 100644 --- a/lib/irb/ext/loader.rb +++ b/lib/irb/ext/loader.rb @@ -18,7 +18,6 @@ module IRB # :nodoc: # # See ExtendCommandBundle for more information. module IrbLoader - @RCS_ID='-$Id$-' alias ruby_load load alias ruby_require require diff --git a/lib/irb/ext/multi-irb.rb b/lib/irb/ext/multi-irb.rb index cd1ddd9f9f..52f6fda733 100644 --- a/lib/irb/ext/multi-irb.rb +++ b/lib/irb/ext/multi-irb.rb @@ -13,7 +13,6 @@ require "thread" module IRB class JobManager - @RCS_ID='-$Id$-' # Creates a new JobManager object def initialize diff --git a/lib/irb/ext/save-history.rb b/lib/irb/ext/save-history.rb index b4c72a0339..4477d18e1a 100644 --- a/lib/irb/ext/save-history.rb +++ b/lib/irb/ext/save-history.rb @@ -12,7 +12,6 @@ require "readline" module IRB module HistorySavingAbility # :nodoc: - @RCS_ID='-$Id$-' end class Context diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb index 590dfb9d9f..4ea3f585f8 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -14,7 +14,6 @@ require 'irb/magic-file' module IRB STDIN_FILE_NAME = "(line)" # :nodoc: class InputMethod - @RCS_ID='-$Id$-' # Creates a new input method object def initialize(file = STDIN_FILE_NAME) diff --git a/lib/irb/locale.rb b/lib/irb/locale.rb index aaccbce3d4..9f40188171 100644 --- a/lib/irb/locale.rb +++ b/lib/irb/locale.rb @@ -10,7 +10,6 @@ # module IRB # :nodoc: class Locale - @RCS_ID='-$Id$-' LOCALE_NAME_RE = %r[ (?[[:alpha:]]{2,3}) diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index 06665af089..7189307e0a 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -15,7 +15,6 @@ require "irb/ruby-token" # :stopdoc: class RubyLex - @RCS_ID='-$Id$-' extend Exception2MessageMapper def_exception(:AlreadyDefinedToken, "Already defined token(%s)") diff --git a/lib/irb/slex.rb b/lib/irb/slex.rb index cd11edf291..f6c2bd92f5 100644 --- a/lib/irb/slex.rb +++ b/lib/irb/slex.rb @@ -15,7 +15,6 @@ require "irb/notifier" # :stopdoc: module IRB class SLex - @RCS_ID='-$Id$-' extend Exception2MessageMapper def_exception :ErrNodeNothing, "node nothing" diff --git a/lib/irb/xmp.rb b/lib/irb/xmp.rb index 8accdb96a2..449f04328b 100644 --- a/lib/irb/xmp.rb +++ b/lib/irb/xmp.rb @@ -43,7 +43,6 @@ require "irb/frame" # ctx.eval 'today # is what?' # #=> "a good day" class XMP - @RCS_ID='-$Id$-' # Creates a new XMP object. # diff --git a/lib/shell.rb b/lib/shell.rb index 90d55d021c..db2d687908 100644 --- a/lib/shell.rb +++ b/lib/shell.rb @@ -87,7 +87,6 @@ require "shell/process-controller" # (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 -- cgit v1.2.3