[ruby/irb] Move :stopdoc:
directive
If this is at the top level, it stops the documentation of the entire module, but not only the part in this file. https://github.com/ruby/irb/commit/86c41b06ad
This commit is contained in:
parent
3c59913a05
commit
8760b270ed
@ -13,8 +13,9 @@
|
|||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
require_relative "../ext/change-ws"
|
require_relative "../ext/change-ws"
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
|
|
||||||
class CurrentWorkingWorkspace < Nop
|
class CurrentWorkingWorkspace < Nop
|
||||||
@ -30,5 +31,6 @@ module IRB
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -10,9 +10,11 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
require_relative "nop"
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class Fork < Nop
|
class Fork < Nop
|
||||||
def execute
|
def execute
|
||||||
@ -33,5 +35,6 @@ module IRB
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -11,8 +11,9 @@
|
|||||||
|
|
||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class Help < Nop
|
class Help < Nop
|
||||||
def execute(*names)
|
def execute(*names)
|
||||||
@ -43,5 +44,6 @@ module IRB
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -2,8 +2,9 @@
|
|||||||
|
|
||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class Info < Nop
|
class Info < Nop
|
||||||
def execute
|
def execute
|
||||||
@ -28,5 +29,6 @@ module IRB
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -13,8 +13,9 @@
|
|||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
require_relative "../ext/loader"
|
require_relative "../ext/loader"
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class Load < Nop
|
class Load < Nop
|
||||||
include IrbLoader
|
include IrbLoader
|
||||||
@ -63,5 +64,5 @@ module IRB
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -4,8 +4,9 @@ require "reline"
|
|||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
require_relative "../color"
|
require_relative "../color"
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class Ls < Nop
|
class Ls < Nop
|
||||||
def execute(*arg, grep: nil)
|
def execute(*arg, grep: nil)
|
||||||
@ -97,5 +98,6 @@ module IRB
|
|||||||
private_constant :Output
|
private_constant :Output
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class Measure < Nop
|
class Measure < Nop
|
||||||
def initialize(*args)
|
def initialize(*args)
|
||||||
@ -39,5 +40,6 @@ module IRB
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -9,8 +9,9 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class Nop
|
class Nop
|
||||||
|
|
||||||
@ -41,5 +42,6 @@ module IRB
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -13,8 +13,9 @@
|
|||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
require_relative "../ext/workspaces"
|
require_relative "../ext/workspaces"
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class Workspaces < Nop
|
class Workspaces < Nop
|
||||||
def execute(*obj)
|
def execute(*obj)
|
||||||
@ -36,5 +37,6 @@ module IRB
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -4,8 +4,9 @@ require_relative "nop"
|
|||||||
require_relative "../color"
|
require_relative "../color"
|
||||||
require_relative "../ruby-lex"
|
require_relative "../ruby-lex"
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class ShowSource < Nop
|
class ShowSource < Nop
|
||||||
def execute(str = nil)
|
def execute(str = nil)
|
||||||
@ -89,5 +90,6 @@ module IRB
|
|||||||
private_constant :Source
|
private_constant :Source
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -12,8 +12,9 @@
|
|||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
require_relative "../ext/multi-irb"
|
require_relative "../ext/multi-irb"
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class IrbCommand < Nop
|
class IrbCommand < Nop
|
||||||
def execute(*obj)
|
def execute(*obj)
|
||||||
@ -39,5 +40,6 @@ module IRB
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -2,8 +2,9 @@
|
|||||||
|
|
||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
module ExtendCommand
|
module ExtendCommand
|
||||||
class Whereami < Nop
|
class Whereami < Nop
|
||||||
def execute(*)
|
def execute(*)
|
||||||
@ -16,5 +17,6 @@ module IRB
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -10,8 +10,9 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
class UnrecognizedSwitch < StandardError
|
class UnrecognizedSwitch < StandardError
|
||||||
def initialize(val)
|
def initialize(val)
|
||||||
super("Unrecognized switch: #{val}")
|
super("Unrecognized switch: #{val}")
|
||||||
@ -67,5 +68,6 @@ module IRB
|
|||||||
super("Define illegal RC_NAME_GENERATOR.")
|
super("Define illegal RC_NAME_GENERATOR.")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
# frozen_string_literal: false
|
# frozen_string_literal: false
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
class Locale
|
class Locale
|
||||||
@@legacy_encoding_alias_map = {
|
@@legacy_encoding_alias_map = {
|
||||||
'ujis' => Encoding::EUC_JP,
|
'ujis' => Encoding::EUC_JP,
|
||||||
'euc' => Encoding::EUC_JP
|
'euc' => Encoding::EUC_JP
|
||||||
}.freeze
|
}.freeze
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
|
@ -10,8 +10,9 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
module IRB
|
module IRB
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
class UnrecognizedSwitch < StandardError
|
class UnrecognizedSwitch < StandardError
|
||||||
def initialize(val)
|
def initialize(val)
|
||||||
super("スイッチ(#{val})が分りません")
|
super("スイッチ(#{val})が分りません")
|
||||||
@ -67,6 +68,7 @@ module IRB
|
|||||||
super("RC_NAME_GENERATORが正しく定義されていません.")
|
super("RC_NAME_GENERATORが正しく定義されていません.")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
end
|
||||||
# vim:fileencoding=utf-8
|
# vim:fileencoding=utf-8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user