diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-20 12:19:45 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-20 12:19:45 +0900 |
commit | e68999c82c4863d33a6f893661fba1b7538c5671 (patch) | |
tree | 97615ccb396e864cbabbfd539251c9e64c309d91 /lib | |
parent | e672494cd737b8fea3a186aeb5c2c17d1a18cb96 (diff) |
Fixed misspellings
Fixed misspellings reported at [Bug #16437], for default gems.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/irb.rb | 2 | ||||
-rw-r--r-- | lib/irb/extend-command.rb | 2 | ||||
-rw-r--r-- | lib/net/ftp.rb | 2 | ||||
-rw-r--r-- | lib/racc/parser-text.rb | 2 | ||||
-rw-r--r-- | lib/racc/parser.rb | 2 | ||||
-rw-r--r-- | lib/rdoc/rd/block_parser.rb | 2 | ||||
-rw-r--r-- | lib/rdoc/rd/inline_parser.rb | 2 | ||||
-rw-r--r-- | lib/reline/line_editor.rb | 2 | ||||
-rw-r--r-- | lib/tracer.rb | 2 | ||||
-rw-r--r-- | lib/webrick/httpservlet/filehandler.rb | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/lib/irb.rb b/lib/irb.rb index f6fc9690f2..a907894fe2 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -319,7 +319,7 @@ require "irb/version" # # check if Foo#foo is available # irb(main):005:0> Foo.instance_methods #=> [:foo, ...] # -# # change the active sesssion +# # change the active session # irb(main):006:0> fg 2 # # define Foo#bar in the context of Foo # irb.2(Foo):005:0> def bar diff --git a/lib/irb/extend-command.rb b/lib/irb/extend-command.rb index fe246606b3..de145e962d 100644 --- a/lib/irb/extend-command.rb +++ b/lib/irb/extend-command.rb @@ -32,7 +32,7 @@ module IRB # :nodoc: # Displays current configuration. # - # Modifing the configuration is achieved by sending a message to IRB.conf. + # Modifying the configuration is achieved by sending a message to IRB.conf. def irb_context IRB.CurrentContext end diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 2b7d19a662..d1e545c0c8 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -1242,7 +1242,7 @@ module Net # Returns the status (STAT command). # # pathname:: when stat is invoked with pathname as a parameter it acts like - # list but alot faster and over the same tcp session. + # list but a lot faster and over the same tcp session. # def status(pathname = nil) line = pathname ? "STAT #{pathname}" : "STAT" diff --git a/lib/racc/parser-text.rb b/lib/racc/parser-text.rb index 028af61e4c..31b8e2c01f 100644 --- a/lib/racc/parser-text.rb +++ b/lib/racc/parser-text.rb @@ -199,7 +199,7 @@ module Racc else require 'racc/cparse' end - # Racc_Runtime_Core_Version_C = (defined in extention) + # Racc_Runtime_Core_Version_C = (defined in extension) Racc_Runtime_Core_Revision_C = Racc_Runtime_Core_Id_C.split[2] unless new.respond_to?(:_racc_do_parse_c, true) raise LoadError, 'old cparse.so' diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb index dd446d1aa1..56b4af9dea 100644 --- a/lib/racc/parser.rb +++ b/lib/racc/parser.rb @@ -197,7 +197,7 @@ module Racc else require 'racc/cparse' end - # Racc_Runtime_Core_Version_C = (defined in extention) + # Racc_Runtime_Core_Version_C = (defined in extension) Racc_Runtime_Core_Revision_C = Racc_Runtime_Core_Id_C.split[2] unless new.respond_to?(:_racc_do_parse_c, true) raise LoadError, 'old cparse.so' diff --git a/lib/rdoc/rd/block_parser.rb b/lib/rdoc/rd/block_parser.rb index 37b35a5924..f735326862 100644 --- a/lib/rdoc/rd/block_parser.rb +++ b/lib/rdoc/rd/block_parser.rb @@ -2,7 +2,7 @@ # # DO NOT MODIFY!!!! # This file is automatically generated by Racc 1.4.14 -# from Racc grammer file "". +# from Racc grammar file "". # require 'racc/parser.rb' diff --git a/lib/rdoc/rd/inline_parser.rb b/lib/rdoc/rd/inline_parser.rb index 85e4215964..f73b81ba9d 100644 --- a/lib/rdoc/rd/inline_parser.rb +++ b/lib/rdoc/rd/inline_parser.rb @@ -2,7 +2,7 @@ # # DO NOT MODIFY!!!! # This file is automatically generated by Racc 1.4.14 -# from Racc grammer file "". +# from Racc grammar file "". # require 'racc/parser.rb' diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 42a2b5b519..0ddafb420b 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -553,7 +553,7 @@ class Reline::LineEditor preposing, target, postposing = retrieve_completion_block list = list.select { |i| if i and not Encoding.compatible?(target.encoding, i.encoding) - raise Encoding::CompatibilityError, "#{target.encoding.name} is not comaptible with #{i.encoding.name}" + raise Encoding::CompatibilityError, "#{target.encoding.name} is not compatible with #{i.encoding.name}" end if @config.completion_ignore_case i&.downcase&.start_with?(target.downcase) diff --git a/lib/tracer.rb b/lib/tracer.rb index 8011ad2399..c1540b8d23 100644 --- a/lib/tracer.rb +++ b/lib/tracer.rb @@ -241,7 +241,7 @@ class Tracer end ## - # Register an event handler <code>p</code> which is called everytime a line + # Register an event handler <code>p</code> which is called every time a line # in +file_name+ is executed. # # Example: diff --git a/lib/webrick/httpservlet/filehandler.rb b/lib/webrick/httpservlet/filehandler.rb index 601882ef4c..7cac05d818 100644 --- a/lib/webrick/httpservlet/filehandler.rb +++ b/lib/webrick/httpservlet/filehandler.rb @@ -214,7 +214,7 @@ module WEBrick def service(req, res) # if this class is mounted on "/" and /~username is requested. - # we're going to override path informations before invoking service. + # we're going to override path information before invoking service. if defined?(Etc) && @options[:UserDir] && req.script_name.empty? if %r|^(/~([^/]+))| =~ req.path_info script_name, user = $1, $2 |