diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-08 14:21:31 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-08 14:21:31 +0000 |
commit | 4ec8451d16cfcbf41b5d129520afb27f339a5214 (patch) | |
tree | ca854307980dcacce6175a101f273922b96818d0 /ext/tk/lib | |
parent | 6225ee6fca300cf32122d7f597f4e189d17d1d28 (diff) | |
download | ruby-4ec8451d16cfcbf41b5d129520afb27f339a5214.tar.gz ruby-4ec8451d16cfcbf41b5d129520afb27f339a5214.tar.xz ruby-4ec8451d16cfcbf41b5d129520afb27f339a5214.zip |
* ext/tk/lib/tk/timer.rb: fix typo
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib')
-rw-r--r-- | ext/tk/lib/tk.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/tk/canvas.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/tk/canvastag.rb | 10 | ||||
-rw-r--r-- | ext/tk/lib/tk/textimage.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/tk/textmark.rb | 4 | ||||
-rw-r--r-- | ext/tk/lib/tk/texttag.rb | 4 | ||||
-rw-r--r-- | ext/tk/lib/tk/textwindow.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/tk/timer.rb | 12 | ||||
-rw-r--r-- | ext/tk/lib/tkextlib/vu/pie.rb | 4 |
9 files changed, 21 insertions, 21 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 3468b108a..43e8c44b5 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -4024,7 +4024,7 @@ end #Tk.freeze module Tk - RELEASE_DATE = '2005-04-09'.freeze + RELEASE_DATE = '2005-05-08'.freeze autoload :AUTO_PATH, 'tk/variable' autoload :TCL_PACKAGE_PATH, 'tk/variable' diff --git a/ext/tk/lib/tk/canvas.rb b/ext/tk/lib/tk/canvas.rb index 6651819c0..8823e0bfe 100644 --- a/ext/tk/lib/tk/canvas.rb +++ b/ext/tk/lib/tk/canvas.rb @@ -623,7 +623,7 @@ class TkcItem<TkObject def initialize(parent, *args) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @parent = @c = parent @path = parent.path diff --git a/ext/tk/lib/tk/canvastag.rb b/ext/tk/lib/tk/canvastag.rb index 0075a60a1..1719abfa0 100644 --- a/ext/tk/lib/tk/canvastag.rb +++ b/ext/tk/lib/tk/canvastag.rb @@ -210,7 +210,7 @@ class TkcTag<TkObject def initialize(parent, mode=nil, *args) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @c = parent @cpath = parent.path @@ -297,7 +297,7 @@ class TkcTagString<TkcTag def initialize(parent, name, mode=nil, *args) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @c = parent @cpath = parent.path @@ -314,7 +314,7 @@ TkcNamedTag = TkcTagString class TkcTagAll<TkcTag def initialize(parent) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @c = parent @cpath = parent.path @@ -327,7 +327,7 @@ end class TkcTagCurrent<TkcTag def initialize(parent) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @c = parent @cpath = parent.path @@ -342,7 +342,7 @@ class TkcGroup<TkcTag #def create_self(parent, *args) def initialize(parent, *args) #unless parent.kind_of?(TkCanvas) - # fail ArguemntError, "expect TkCanvas for 1st argument" + # fail ArgumentError, "expect TkCanvas for 1st argument" #end @c = parent @cpath = parent.path diff --git a/ext/tk/lib/tk/textimage.rb b/ext/tk/lib/tk/textimage.rb index 982cb2ecf..a29b23c7d 100644 --- a/ext/tk/lib/tk/textimage.rb +++ b/ext/tk/lib/tk/textimage.rb @@ -9,7 +9,7 @@ class TkTextImage<TkObject def initialize(parent, index, keys) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @t = parent if index == 'end' || index == :end diff --git a/ext/tk/lib/tk/textmark.rb b/ext/tk/lib/tk/textmark.rb index dccde38d7..41d752bae 100644 --- a/ext/tk/lib/tk/textmark.rb +++ b/ext/tk/lib/tk/textmark.rb @@ -20,7 +20,7 @@ class TkTextMark<TkObject def initialize(parent, index) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @parent = @t = parent @tpath = parent.path @@ -132,7 +132,7 @@ class TkTextNamedMark<TkTextMark def initialize(parent, name, index=nil) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @parent = @t = parent @tpath = parent.path diff --git a/ext/tk/lib/tk/texttag.rb b/ext/tk/lib/tk/texttag.rb index 6201c7caa..e5d7a9b0a 100644 --- a/ext/tk/lib/tk/texttag.rb +++ b/ext/tk/lib/tk/texttag.rb @@ -22,7 +22,7 @@ class TkTextTag<TkObject def initialize(parent, *args) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @parent = @t = parent @tpath = parent.path @@ -247,7 +247,7 @@ class TkTextNamedTag<TkTextTag def initialize(parent, name, *args) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @parent = @t = parent @tpath = parent.path diff --git a/ext/tk/lib/tk/textwindow.rb b/ext/tk/lib/tk/textwindow.rb index 7c9731358..605c40add 100644 --- a/ext/tk/lib/tk/textwindow.rb +++ b/ext/tk/lib/tk/textwindow.rb @@ -9,7 +9,7 @@ class TkTextWindow<TkObject def initialize(parent, index, keys = {}) #unless parent.kind_of?(TkText) - # fail ArguemntError, "expect TkText for 1st argument" + # fail ArgumentError, "expect TkText for 1st argument" #end @t = parent if index == 'end' || index == :end diff --git a/ext/tk/lib/tk/timer.rb b/ext/tk/lib/tk/timer.rb index 87670c962..47f2b7935 100644 --- a/ext/tk/lib/tk/timer.rb +++ b/ext/tk/lib/tk/timer.rb @@ -249,7 +249,7 @@ class TkTimer # && !interval.kind_of?(Integer) && !interval.kind_of?(Proc) if interval != 'idle' && interval != :idle \ && !interval.kind_of?(Integer) && !TkComm._callback_entry?(interval) - fail ArguemntError, "expect Integer or Proc" + fail ArgumentError, "expect Integer or Proc" end @sleep_time = interval end @@ -259,7 +259,7 @@ class TkTimer # && !interval.kind_of?(Integer) && !interval.kind_of?(Proc) if interval != 'idle' && interval != :idle \ && !interval.kind_of?(Integer) && !TkComm._callback_entry?(interval) - fail ArguemntError, "expect Integer or Proc for 1st argument" + fail ArgumentError, "expect Integer or Proc for 1st argument" end @sleep_time = interval @@ -283,7 +283,7 @@ class TkTimer @loop_exec = 0 else if not loop_exec.kind_of?(Integer) - fail ArguemntError, "expect Integer for 2nd argument" + fail ArgumentError, "expect Integer for 2nd argument" end @loop_exec = loop_exec end @@ -334,7 +334,7 @@ class TkTimer sleep = @init_sleep unless sleep if sleep != 'idle' && sleep != :idle && !sleep.kind_of?(Integer) - fail ArguemntError, "expect Integer or 'idle' for 1st argument" + fail ArgumentError, "expect Integer or 'idle' for 1st argument" end @init_sleep = sleep @@ -364,7 +364,7 @@ class TkTimer if argc > 0 sleep = init_args.shift if sleep != 'idle' && sleep != :idle && !sleep.kind_of?(Integer) - fail ArguemntError, "expect Integer or 'idle' for 1st argument" + fail ArgumentError, "expect Integer or 'idle' for 1st argument" end @init_sleep = sleep end @@ -436,7 +436,7 @@ class TkTimer fail RuntimeError, "no procedure to continue" unless cmd if wait unless wait.kind_of?(Integer) - fail ArguemntError, "expect Integer for 1st argument" + fail ArgumentError, "expect Integer for 1st argument" end sleep = wait end diff --git a/ext/tk/lib/tkextlib/vu/pie.rb b/ext/tk/lib/tkextlib/vu/pie.rb index dc676ad76..78f3fa54d 100644 --- a/ext/tk/lib/tkextlib/vu/pie.rb +++ b/ext/tk/lib/tkextlib/vu/pie.rb @@ -127,7 +127,7 @@ class Tk::Vu::PieSlice def initialize(parent, *args) unless parent.kind_of?(Tk::Vu::Pie) - fail ArguemntError, "expect a Tk::Vu::Pie instance for 1st argument" + fail ArgumentError, "expect a Tk::Vu::Pie instance for 1st argument" end @parent = @pie = parent @ppath = parent.path @@ -218,7 +218,7 @@ class Tk::Vu::NamedPieSlice def initialize(parent, name, *args) unless parent.kind_of?(Tk::Vu::Pie) - fail ArguemntError, "expect a Tk::Vu::Pie instance for 1st argument" + fail ArgumentError, "expect a Tk::Vu::Pie instance for 1st argument" end @parent = @pie = parent @ppath = parent.path |