diff options
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 |