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>
|
Sun Aug 24 12:44:26 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||||
|
|
||||||
* test/ruby/test_complex.rb: removed needless conditions.
|
* test/ruby/test_complex.rb: removed needless conditions.
|
||||||
|
|
|
@ -52,7 +52,6 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
module Exception2MessageMapper
|
module Exception2MessageMapper
|
||||||
@RCS_ID='-$Id: e2mmap.rb,v 1.10 1999/02/17 12:33:17 keiju Exp keiju $-'
|
|
||||||
|
|
||||||
E2MM = Exception2MessageMapper # :nodoc:
|
E2MM = Exception2MessageMapper # :nodoc:
|
||||||
|
|
||||||
|
|
|
@ -336,7 +336,6 @@ STDOUT.sync = true
|
||||||
# # quit irb
|
# # quit irb
|
||||||
# irb(main):010:0> exit
|
# irb(main):010:0> exit
|
||||||
module IRB
|
module IRB
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
# An exception raised by IRB.irb_abort
|
# An exception raised by IRB.irb_abort
|
||||||
class Abort < Exception;end
|
class Abort < Exception;end
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
# :stopdoc:
|
# :stopdoc:
|
||||||
module IRB
|
module IRB
|
||||||
|
|
|
@ -13,7 +13,6 @@ module IRB
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class Nop
|
class Nop
|
||||||
|
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
def self.execute(conf, *opts)
|
def self.execute(conf, *opts)
|
||||||
command = new(conf)
|
command = new(conf)
|
||||||
|
|
|
@ -11,7 +11,6 @@ require "readline"
|
||||||
module IRB
|
module IRB
|
||||||
module InputCompletor # :nodoc:
|
module InputCompletor # :nodoc:
|
||||||
|
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
# Set of reserved words used by Ruby, you should not use these for
|
# Set of reserved words used by Ruby, you should not use these for
|
||||||
# constants or variables
|
# constants or variables
|
||||||
|
|
|
@ -58,7 +58,6 @@ module IRB # :nodoc:
|
||||||
end
|
end
|
||||||
|
|
||||||
class History # :nodoc:
|
class History # :nodoc:
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
def initialize(size = 16)
|
def initialize(size = 16)
|
||||||
@size = size
|
@size = size
|
||||||
|
|
|
@ -18,7 +18,6 @@ module IRB # :nodoc:
|
||||||
#
|
#
|
||||||
# See ExtendCommandBundle for more information.
|
# See ExtendCommandBundle for more information.
|
||||||
module IrbLoader
|
module IrbLoader
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
alias ruby_load load
|
alias ruby_load load
|
||||||
alias ruby_require require
|
alias ruby_require require
|
||||||
|
|
|
@ -13,7 +13,6 @@ require "thread"
|
||||||
|
|
||||||
module IRB
|
module IRB
|
||||||
class JobManager
|
class JobManager
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
# Creates a new JobManager object
|
# Creates a new JobManager object
|
||||||
def initialize
|
def initialize
|
||||||
|
|
|
@ -12,7 +12,6 @@ require "readline"
|
||||||
|
|
||||||
module IRB
|
module IRB
|
||||||
module HistorySavingAbility # :nodoc:
|
module HistorySavingAbility # :nodoc:
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class Context
|
class Context
|
||||||
|
|
|
@ -14,7 +14,6 @@ require 'irb/magic-file'
|
||||||
module IRB
|
module IRB
|
||||||
STDIN_FILE_NAME = "(line)" # :nodoc:
|
STDIN_FILE_NAME = "(line)" # :nodoc:
|
||||||
class InputMethod
|
class InputMethod
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
# Creates a new input method object
|
# Creates a new input method object
|
||||||
def initialize(file = STDIN_FILE_NAME)
|
def initialize(file = STDIN_FILE_NAME)
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
#
|
#
|
||||||
module IRB # :nodoc:
|
module IRB # :nodoc:
|
||||||
class Locale
|
class Locale
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
LOCALE_NAME_RE = %r[
|
LOCALE_NAME_RE = %r[
|
||||||
(?<language>[[:alpha:]]{2,3})
|
(?<language>[[:alpha:]]{2,3})
|
||||||
|
|
|
@ -15,7 +15,6 @@ require "irb/ruby-token"
|
||||||
|
|
||||||
# :stopdoc:
|
# :stopdoc:
|
||||||
class RubyLex
|
class RubyLex
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
extend Exception2MessageMapper
|
extend Exception2MessageMapper
|
||||||
def_exception(:AlreadyDefinedToken, "Already defined token(%s)")
|
def_exception(:AlreadyDefinedToken, "Already defined token(%s)")
|
||||||
|
|
|
@ -15,7 +15,6 @@ require "irb/notifier"
|
||||||
# :stopdoc:
|
# :stopdoc:
|
||||||
module IRB
|
module IRB
|
||||||
class SLex
|
class SLex
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
extend Exception2MessageMapper
|
extend Exception2MessageMapper
|
||||||
def_exception :ErrNodeNothing, "node nothing"
|
def_exception :ErrNodeNothing, "node nothing"
|
||||||
|
|
|
@ -43,7 +43,6 @@ require "irb/frame"
|
||||||
# ctx.eval 'today # is what?'
|
# ctx.eval 'today # is what?'
|
||||||
# #=> "a good day"
|
# #=> "a good day"
|
||||||
class XMP
|
class XMP
|
||||||
@RCS_ID='-$Id$-'
|
|
||||||
|
|
||||||
# Creates a new XMP object.
|
# Creates a new XMP object.
|
||||||
#
|
#
|
||||||
|
|
|
@ -87,7 +87,6 @@ require "shell/process-controller"
|
||||||
# (sh.cat < "/etc/printcap") | sh.tee("tee11") >> "tee12"
|
# (sh.cat < "/etc/printcap") | sh.tee("tee11") >> "tee12"
|
||||||
#
|
#
|
||||||
class Shell
|
class Shell
|
||||||
@RCS_ID='-$Id: shell.rb,v 1.9 2002/03/04 12:01:10 keiju Exp keiju $-'
|
|
||||||
|
|
||||||
include Error
|
include Error
|
||||||
extend Exception2MessageMapper
|
extend Exception2MessageMapper
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue