diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-02 17:52:43 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-02 17:52:43 +0000 |
commit | b9d42af0f28f7957c5a086a86175a0739d251c73 () | |
tree | f17b04b88d2fc053851993a778a2a061b807038d | |
parent | e859e668d2eb59f34ad18edb7458ce90076617e9 (diff) |
lib/*: Prefer require_relative over require, remove explicit extension
[#15206] [Fix GH-1976] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/irb/cmd/chws.rb | 4 | ||||
-rw-r--r-- | lib/irb/cmd/help.rb | 2 | ||||
-rw-r--r-- | lib/irb/cmd/load.rb | 2 | ||||
-rw-r--r-- | lib/irb/cmd/pushws.rb | 4 | ||||
-rw-r--r-- | lib/irb/cmd/subirb.rb | 4 | ||||
-rw-r--r-- | lib/irb/context.rb | 4 | ||||
-rw-r--r-- | lib/irb/help.rb | 2 | ||||
-rw-r--r-- | lib/irb/input-method.rb | 2 | ||||
-rw-r--r-- | lib/irb/notifier.rb | 2 | ||||
-rw-r--r-- | lib/irb/ruby-lex.rb | 2 | ||||
-rw-r--r-- | lib/rss/rss.rb | 2 | ||||
-rw-r--r-- | lib/shell/command-processor.rb | 4 | ||||
-rw-r--r-- | lib/unicode_normalize/normalize.rb | 2 | ||||
-rw-r--r-- | lib/webrick/httpservlet/erbhandler.rb | 2 | ||||
-rw-r--r-- | lib/webrick/httpservlet/prochandler.rb | 2 |
15 files changed, 20 insertions, 20 deletions
@@ -10,8 +10,8 @@ # # -require "irb/cmd/nop.rb" -require "irb/ext/change-ws.rb" # :stopdoc: module IRB @@ -11,7 +11,7 @@ require 'rdoc/ri/driver' -require "irb/cmd/nop.rb" # :stopdoc: module IRB @@ -10,7 +10,7 @@ # # -require "irb/cmd/nop.rb" require_relative "../ext/loader" # :stopdoc: @@ -10,8 +10,8 @@ # # -require "irb/cmd/nop.rb" -require "irb/ext/workspaces.rb" # :stopdoc: module IRB @@ -9,8 +9,8 @@ # # -require "irb/cmd/nop.rb" -require "irb/ext/multi-irb" # :stopdoc: module IRB @@ -11,8 +11,8 @@ # require_relative "workspace" require_relative "inspector" -require "irb/input-method" -require "irb/output-method" module IRB # A class that wraps the current state of the irb session, including the @@ -10,7 +10,7 @@ # # -require 'irb/magic-file' module IRB # Outputs the irb help message, see IRB@Command+line+options. @@ -10,7 +10,7 @@ # # require_relative 'src_encoding' -require 'irb/magic-file' module IRB STDIN_FILE_NAME = "(line)" # :nodoc: @@ -11,7 +11,7 @@ # require "e2mmap" -require "irb/output-method" module IRB # An output formatter used internally by the lexer. @@ -12,7 +12,7 @@ require "e2mmap" require_relative "slex" -require "irb/ruby-token" # :stopdoc: class RubyLex @@ -65,7 +65,7 @@ end require "English" require_relative "utils" require_relative "converter" -require "rss/xml-stylesheet" module RSS @@ -14,8 +14,8 @@ require "e2mmap" require_relative "error" require_relative "filter" -require "shell/system-command" -require "shell/builtin-command" class Shell # In order to execute a command on your OS, you need to define it as a @@ -18,7 +18,7 @@ # content are purely an implementation detail, and should not be exposed in # any test or spec or otherwise. -require 'unicode_normalize/tables.rb' module UnicodeNormalize # :nodoc: @@ -9,7 +9,7 @@ # # $IPR: erbhandler.rb,v 1.25 2003/02/24 19:25:31 gotoyuzo Exp $ -require 'webrick/httpservlet/abstract.rb' require 'erb' @@ -9,7 +9,7 @@ # # $IPR: prochandler.rb,v 1.7 2002/09/21 12:23:42 gotoyuzo Exp $ -require 'webrick/httpservlet/abstract.rb' module WEBrick module HTTPServlet |