summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk.rb
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:57:21 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:57:21 +0000
commit73a37eb3256862c17b77aa0ee1590933e051b7c3 (patch)
tree9c170e584d31262d1f9030eb402827ad09e5472b /ext/tk/lib/tk.rb
parent98e3c058fa42fdcc2a6e0a24b47786dcaf808ec8 (diff)
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.rb')
-rw-r--r--ext/tk/lib/tk.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index 67ea8ead46..956313b54e 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -2645,7 +2645,7 @@ if (/^(8\.[1-9]|9\.|[1-9][0-9])/ =~ Tk::TCL_VERSION && !Tk::JAPANIZED_TK)
def ENCODING_TABLE.get_name(enc)
orig_enc = enc
- # unles enc, use system default
+ # unless enc, use system default
# 1st: Ruby/Tk default encoding
# 2nd: Tcl/Tk default encoding
# 3rd: Ruby's default_external
@@ -2887,7 +2887,7 @@ if (/^(8\.[1-9]|9\.|[1-9][0-9])/ =~ Tk::TCL_VERSION && !Tk::JAPANIZED_TK)
# from tkencoding.rb by ttate@jaist.ac.jp
#attr_accessor :encoding
def encoding=(name)
- self.force_default_encoding = true # for comaptibility
+ self.force_default_encoding = true # for compatibility
self.default_encoding = name
end
@@ -5165,7 +5165,7 @@ class TkWindow<TkObject
# try to configure
configure(keys)
rescue
- # fail => includes options adaptable when creattion only?
+ # fail => includes options adaptable when creation only?
begin
tk_call_without_enc('destroy', @path)
rescue