diff options
author | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-27 09:57:21 +0000 |
---|---|---|
committer | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-27 09:57:21 +0000 |
commit | ff9b1f7a08c68b373dae61cbad30ac9eeb49d5ae (patch) | |
tree | 9c170e584d31262d1f9030eb402827ad09e5472b /ext/tk/lib/tk/optiondb.rb | |
parent | 5b2e6867ee1ff4e517376f5ad445e943557d30a8 (diff) | |
download | ruby-ff9b1f7a08c68b373dae61cbad30ac9eeb49d5ae.tar.gz |
Documentation typos
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk/optiondb.rb')
-rw-r--r-- | ext/tk/lib/tk/optiondb.rb | 6 |
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? |