diff options
author | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-28 08:25:28 +0000 |
---|---|---|
committer | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-28 08:25:28 +0000 |
commit | 75f4731f900f3cee32c38da5d7c919ff5bb6d873 (patch) | |
tree | 6dc2315f28d5dc85f9cf0a19743c0bda4e6d2a26 /ext | |
parent | 8ed9994cc9cd15309a91776aa4d938ae8038d408 (diff) | |
download | ruby-75f4731f900f3cee32c38da5d7c919ff5bb6d873.tar.gz |
* benchmark/bm_so_meteor_contest.rb: [DOC] Fix a few typos
* ext/fiddle/lib/fiddle/import.rb: ditto
* ext/psych/lib/psych.rb: ditto
* ext/psych/lib/psych/nodes/sequence.rb: ditto
* ext/tk/lib/multi-tk.rb: ditto
* ext/tk/lib/tcltk.rb: ditto
Closes GH-490
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/fiddle/lib/fiddle/import.rb | 2 | ||||
-rw-r--r-- | ext/psych/lib/psych.rb | 2 | ||||
-rw-r--r-- | ext/psych/lib/psych/nodes/sequence.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/multi-tk.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/tcltk.rb | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/ext/fiddle/lib/fiddle/import.rb b/ext/fiddle/lib/fiddle/import.rb index 8b948e8f23..f1aa712f2e 100644 --- a/ext/fiddle/lib/fiddle/import.rb +++ b/ext/fiddle/lib/fiddle/import.rb @@ -63,7 +63,7 @@ module Fiddle extend Importer # Creates an array of handlers for the given +libs+, can be an instance of - # Fiddle::Handle, Fiddle::Importer, or will create a new istance of + # Fiddle::Handle, Fiddle::Importer, or will create a new instance of # Fiddle::Handle using Fiddle.dlopen # # Raises a DLError if the library cannot be loaded. diff --git a/ext/psych/lib/psych.rb b/ext/psych/lib/psych.rb index 2a87f43efe..b5050b15e6 100644 --- a/ext/psych/lib/psych.rb +++ b/ext/psych/lib/psych.rb @@ -135,7 +135,7 @@ require 'psych/handlers/document_stream' # ==== Exception handling # # begin -# # The second argument chnages only the exception contents +# # The second argument changes only the exception contents # Psych.parse("--- `", "file.txt") # rescue Psych::SyntaxError => ex # ex.file # => 'file.txt' diff --git a/ext/psych/lib/psych/nodes/sequence.rb b/ext/psych/lib/psych/nodes/sequence.rb index e4b833d330..7e907fe2c8 100644 --- a/ext/psych/lib/psych/nodes/sequence.rb +++ b/ext/psych/lib/psych/nodes/sequence.rb @@ -56,7 +56,7 @@ module Psych # Is this sequence started implicitly? attr_accessor :implicit - # The sequece style used + # The sequence style used attr_accessor :style ### diff --git a/ext/tk/lib/multi-tk.rb b/ext/tk/lib/multi-tk.rb index 68bd849670..bb6e69aab6 100644 --- a/ext/tk/lib/multi-tk.rb +++ b/ext/tk/lib/multi-tk.rb @@ -148,7 +148,7 @@ class MultiTkIp end def delete(idx, &blk) - # if gets an entry, is permited to delete + # if gets an entry, is permitted to delete if self[idx] @tbl.delete(idx) elsif blk diff --git a/ext/tk/lib/tcltk.rb b/ext/tk/lib/tcltk.rb index 48ec1df09a..f8fbdfbe6d 100644 --- a/ext/tk/lib/tcltk.rb +++ b/ext/tk/lib/tcltk.rb @@ -325,7 +325,7 @@ class TclTkCallback < TclTkObject TclTk._addcallback(self) end - # to_eval(): retuens string representation for @ip._eval_args + # to_eval(): returns string representation for @ip._eval_args def to_eval() if @arg # bind replaces %s before calling ruby_fmt, so %%s is used @@ -349,7 +349,7 @@ class TclTkImage < TclTkCommand # initialize(interp, t, *args): # generating image is done by TclTkImage.new() - # destrying is done by image delete (inconsistent, sigh) + # destroying is done by image delete (inconsistent, sigh) # interp: interpreter(TclTkInterpreter) # t: image type (photo, bitmap, etc.) # *args: command argument |