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:
parent
a3a6c69656
commit
2afed6ecef
16 changed files with 7 additions and 15 deletions
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#
|
||||
#
|
||||
|
||||
@RCS_ID='-$Id$-'
|
||||
|
||||
# :stopdoc:
|
||||
module IRB
|
||||
|
|
|
@ -13,7 +13,6 @@ module IRB
|
|||
module ExtendCommand
|
||||
class Nop
|
||||
|
||||
@RCS_ID='-$Id$-'
|
||||
|
||||
def self.execute(conf, *opts)
|
||||
command = new(conf)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -58,7 +58,6 @@ module IRB # :nodoc:
|
|||
end
|
||||
|
||||
class History # :nodoc:
|
||||
@RCS_ID='-$Id$-'
|
||||
|
||||
def initialize(size = 16)
|
||||
@size = size
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -13,7 +13,6 @@ require "thread"
|
|||
|
||||
module IRB
|
||||
class JobManager
|
||||
@RCS_ID='-$Id$-'
|
||||
|
||||
# Creates a new JobManager object
|
||||
def initialize
|
||||
|
|
|
@ -12,7 +12,6 @@ require "readline"
|
|||
|
||||
module IRB
|
||||
module HistorySavingAbility # :nodoc:
|
||||
@RCS_ID='-$Id$-'
|
||||
end
|
||||
|
||||
class Context
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#
|
||||
module IRB # :nodoc:
|
||||
class Locale
|
||||
@RCS_ID='-$Id$-'
|
||||
|
||||
LOCALE_NAME_RE = %r[
|
||||
(?<language>[[:alpha:]]{2,3})
|
||||
|
|
|
@ -15,7 +15,6 @@ require "irb/ruby-token"
|
|||
|
||||
# :stopdoc:
|
||||
class RubyLex
|
||||
@RCS_ID='-$Id$-'
|
||||
|
||||
extend Exception2MessageMapper
|
||||
def_exception(:AlreadyDefinedToken, "Already defined token(%s)")
|
||||
|
|
|
@ -15,7 +15,6 @@ require "irb/notifier"
|
|||
# :stopdoc:
|
||||
module IRB
|
||||
class SLex
|
||||
@RCS_ID='-$Id$-'
|
||||
|
||||
extend Exception2MessageMapper
|
||||
def_exception :ErrNodeNothing, "node nothing"
|
||||
|
|
|
@ -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.
|
||||
#
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue