1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
hsbt 2014-08-24 07:16:25 +00:00
parent a3a6c69656
commit 2afed6ecef
16 changed files with 7 additions and 15 deletions

View file

@ -1,3 +1,10 @@
Sun Aug 24 16:14:46 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* 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@gmail.com>
* test/ruby/test_complex.rb: removed needless conditions.

View file

@ -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:

View file

@ -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

View file

@ -9,7 +9,6 @@
#
#
@RCS_ID='-$Id$-'
# :stopdoc:
module IRB

View file

@ -13,7 +13,6 @@ module IRB
module ExtendCommand
class Nop
@RCS_ID='-$Id$-'
def self.execute(conf, *opts)
command = new(conf)

View file

@ -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

View file

@ -58,7 +58,6 @@ module IRB # :nodoc:
end
class History # :nodoc:
@RCS_ID='-$Id$-'
def initialize(size = 16)
@size = size

View file

@ -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

View file

@ -13,7 +13,6 @@ require "thread"
module IRB
class JobManager
@RCS_ID='-$Id$-'
# Creates a new JobManager object
def initialize

View file

@ -12,7 +12,6 @@ require "readline"
module IRB
module HistorySavingAbility # :nodoc:
@RCS_ID='-$Id$-'
end
class Context

View file

@ -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)

View file

@ -10,7 +10,6 @@
#
module IRB # :nodoc:
class Locale
@RCS_ID='-$Id$-'
LOCALE_NAME_RE = %r[
(?<language>[[:alpha:]]{2,3})

View file

@ -15,7 +15,6 @@ require "irb/ruby-token"
# :stopdoc:
class RubyLex
@RCS_ID='-$Id$-'
extend Exception2MessageMapper
def_exception(:AlreadyDefinedToken, "Already defined token(%s)")

View file

@ -15,7 +15,6 @@ require "irb/notifier"
# :stopdoc:
module IRB
class SLex
@RCS_ID='-$Id$-'
extend Exception2MessageMapper
def_exception :ErrNodeNothing, "node nothing"

View file

@ -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.
#

View file

@ -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