[ruby/irb] Formatting to header styles
https://github.com/ruby/irb/commit/cef125850d
This commit is contained in:
parent
128398e7cd
commit
7e283c585e
@ -3,10 +3,7 @@
|
|||||||
# irb.rb - irb main module
|
# irb.rb - irb main module
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
require "ripper"
|
require "ripper"
|
||||||
require "reline"
|
require "reline"
|
||||||
|
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# change-ws.rb -
|
# change-ws.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
require_relative "../ext/change-ws"
|
require_relative "../ext/change-ws"
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# fork.rb -
|
# fork.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
|
|
||||||
|
@ -2,10 +2,6 @@
|
|||||||
#
|
#
|
||||||
# help.rb - helper using ri
|
# help.rb - helper using ri
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
|
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# load.rb -
|
# load.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
require_relative "../ext/loader"
|
require_relative "../ext/loader"
|
||||||
|
@ -3,10 +3,7 @@
|
|||||||
# nop.rb -
|
# nop.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
module IRB
|
module IRB
|
||||||
# :stopdoc:
|
# :stopdoc:
|
||||||
|
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# change-ws.rb -
|
# change-ws.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
require_relative "../ext/workspaces"
|
require_relative "../ext/workspaces"
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
# frozen_string_literal: false
|
# frozen_string_literal: false
|
||||||
|
#
|
||||||
# multi.rb -
|
# multi.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require_relative "nop"
|
require_relative "nop"
|
||||||
|
|
||||||
|
@ -3,10 +3,7 @@
|
|||||||
# irb/context.rb - irb context
|
# irb/context.rb - irb context
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
require_relative "workspace"
|
require_relative "workspace"
|
||||||
require_relative "inspector"
|
require_relative "inspector"
|
||||||
require_relative "input-method"
|
require_relative "input-method"
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# irb/ext/cb.rb -
|
# irb/ext/cb.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB # :nodoc:
|
module IRB # :nodoc:
|
||||||
class Context
|
class Context
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# history.rb -
|
# history.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB # :nodoc:
|
module IRB # :nodoc:
|
||||||
|
|
||||||
|
@ -3,11 +3,6 @@
|
|||||||
# loader.rb -
|
# loader.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
module IRB # :nodoc:
|
module IRB # :nodoc:
|
||||||
# Raised in the event of an exception in a file loaded from an Irb session
|
# Raised in the event of an exception in a file loaded from an Irb session
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# irb/multi-irb.rb - multiple irb module
|
# irb/multi-irb.rb - multiple irb module
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB
|
module IRB
|
||||||
class JobManager
|
class JobManager
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
# frozen_string_literal: false
|
# frozen_string_literal: false
|
||||||
|
#
|
||||||
# save-history.rb -
|
# save-history.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB
|
module IRB
|
||||||
module HistorySavingAbility # :nodoc:
|
module HistorySavingAbility # :nodoc:
|
||||||
|
@ -3,10 +3,7 @@
|
|||||||
# irb/lib/tracer.rb -
|
# irb/lib/tracer.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
begin
|
begin
|
||||||
require "tracer"
|
require "tracer"
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# use-loader.rb -
|
# use-loader.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require_relative "../cmd/load"
|
require_relative "../cmd/load"
|
||||||
require_relative "loader"
|
require_relative "loader"
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# push-ws.rb -
|
# push-ws.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB # :nodoc:
|
module IRB # :nodoc:
|
||||||
class Context
|
class Context
|
||||||
|
@ -3,10 +3,7 @@
|
|||||||
# irb/extend-command.rb - irb extend command
|
# irb/extend-command.rb - irb extend command
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
module IRB # :nodoc:
|
module IRB # :nodoc:
|
||||||
# Installs the default irb extensions command bundle.
|
# Installs the default irb extensions command bundle.
|
||||||
module ExtendCommandBundle
|
module ExtendCommandBundle
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# frame.rb -
|
# frame.rb -
|
||||||
# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd)
|
# by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB
|
module IRB
|
||||||
class Frame
|
class Frame
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# irb/help.rb - print usage module
|
# irb/help.rb - print usage module
|
||||||
# by Keiju ISHITSUKA(keiju@ishitsuka.com)
|
# by Keiju ISHITSUKA(keiju@ishitsuka.com)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require_relative 'magic-file'
|
require_relative 'magic-file'
|
||||||
|
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# irb/init.rb - irb initialize module
|
# irb/init.rb - irb initialize module
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB # :nodoc:
|
module IRB # :nodoc:
|
||||||
|
|
||||||
|
@ -3,10 +3,7 @@
|
|||||||
# irb/input-method.rb - input methods used irb
|
# irb/input-method.rb - input methods used irb
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
require_relative 'src_encoding'
|
require_relative 'src_encoding'
|
||||||
require_relative 'magic-file'
|
require_relative 'magic-file'
|
||||||
require_relative 'completion'
|
require_relative 'completion'
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# irb/inspector.rb - inspect methods
|
# irb/inspector.rb - inspect methods
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB # :nodoc:
|
module IRB # :nodoc:
|
||||||
|
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# irb/lc/error.rb -
|
# irb/lc/error.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB
|
module IRB
|
||||||
# :stopdoc:
|
# :stopdoc:
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
# frozen_string_literal: false
|
# frozen_string_literal: false
|
||||||
|
#
|
||||||
# irb/lc/ja/error.rb -
|
# irb/lc/ja/error.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB
|
module IRB
|
||||||
# :stopdoc:
|
# :stopdoc:
|
||||||
|
@ -3,10 +3,7 @@
|
|||||||
# irb/locale.rb - internationalization module
|
# irb/locale.rb - internationalization module
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
module IRB # :nodoc:
|
module IRB # :nodoc:
|
||||||
class Locale
|
class Locale
|
||||||
|
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# notifier.rb - output methods used by irb
|
# notifier.rb - output methods used by irb
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require_relative "output-method"
|
require_relative "output-method"
|
||||||
|
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# output-method.rb - output methods used by irb
|
# output-method.rb - output methods used by irb
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB
|
module IRB
|
||||||
# An abstract output class for IO in irb. This is mainly used internally by
|
# An abstract output class for IO in irb. This is mainly used internally by
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# irb/ruby-lex.rb - ruby lexcal analyzer
|
# irb/ruby-lex.rb - ruby lexcal analyzer
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require "ripper"
|
require "ripper"
|
||||||
require "jruby" if RUBY_ENGINE == "jruby"
|
require "jruby" if RUBY_ENGINE == "jruby"
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# irb/version.rb - irb version definition file
|
# irb/version.rb - irb version definition file
|
||||||
# by Keiju ISHITSUKA(keiju@ishitsuka.com)
|
# by Keiju ISHITSUKA(keiju@ishitsuka.com)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
module IRB # :nodoc:
|
module IRB # :nodoc:
|
||||||
VERSION = "1.6.2"
|
VERSION = "1.6.2"
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# irb/workspace-binding.rb -
|
# irb/workspace-binding.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require "delegate"
|
require "delegate"
|
||||||
|
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# irb/ws-for-case-2.rb -
|
# irb/ws-for-case-2.rb -
|
||||||
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
while true
|
while true
|
||||||
IRB::BINDING_QUEUE.push _ = binding
|
IRB::BINDING_QUEUE.push _ = binding
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
# xmp.rb - irb version of gotoken xmp
|
# xmp.rb - irb version of gotoken xmp
|
||||||
# by Keiju ISHITSUKA(Nippon Rational Inc.)
|
# by Keiju ISHITSUKA(Nippon Rational Inc.)
|
||||||
#
|
#
|
||||||
# --
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
require_relative "../irb"
|
require_relative "../irb"
|
||||||
require_relative "frame"
|
require_relative "frame"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user