diff options
author | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-27 09:59:13 +0000 |
---|---|---|
committer | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-27 09:59:13 +0000 |
commit | 9e04d1fbf1ff34d86c14d8383efdcdd2969b08f9 (patch) | |
tree | 8d1101d9ec5fb05f903f7fe9d56eaa1e1922a389 /ext/tk | |
parent | 87c817fa6f8d15b86d907be4b6b493f11a3e4f4f (diff) | |
download | ruby-9e04d1fbf1ff34d86c14d8383efdcdd2969b08f9.tar.gz |
Method name typo in a Tk sample
* ext/tk/sample/tktextio.rb: trancate => truncate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r-- | ext/tk/sample/tktextio.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tktextio.rb b/ext/tk/sample/tktextio.rb index 5b6bb9cc5f..cc0326ed20 100644 --- a/ext/tk/sample/tktextio.rb +++ b/ext/tk/sample/tktextio.rb @@ -836,7 +836,7 @@ class TkTextIO < TkText self end - def trancate(len) + def truncate(len) delete("1.0 + #{len} char", :end) 0 end |