aboutsummaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tk/optiondb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk/optiondb.rb')
-rw-r--r--ext/tk/lib/tk/optiondb.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tk/optiondb.rb b/ext/tk/lib/tk/optiondb.rb
index b27a5e5721..ced8a111e4 100644
--- a/ext/tk/lib/tk/optiondb.rb
+++ b/ext/tk/lib/tk/optiondb.rb
@@ -59,7 +59,7 @@ module TkOptionDB
when /\\$/ # continue
cline.chop!
next
- when /^\s*(!|#)/ # coment
+ when /^\s*(!|#)/ # comment
cline = ''
next
when /^([^:]+):(.*)$/
@@ -103,7 +103,7 @@ module TkOptionDB
when /\\$/ # continue
cline.chop!
next
- when /^\s*!/ # coment
+ when /^\s*!/ # comment
cline = ''
next
when /^([^:]+):\s(.*)$/
@@ -341,7 +341,7 @@ module TkOptionDB
# define new proc class :
# If you want to modify the new class or create a new subclass,
# you must do such operation in the block parameter.
- # Because the created class is flozen after evaluating the block.
+ # Because the created class is frozen after evaluating the block.
def new_proc_class(klass, func, safe = 4, add = false, parent = nil, &b)
new_klass = __create_new_class(klass, func, safe, add, parent)
new_klass.class_eval(&b) if block_given?