aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:59:13 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:59:13 +0000
commit55453156219bda8616333252a0e4e9aa650a81e0 (patch)
tree8d1101d9ec5fb05f903f7fe9d56eaa1e1922a389 /ext
parent6b2b5e21f6fb99faf90ee63b21cb1dc42df5f6ca (diff)
downloadruby-55453156219bda8616333252a0e4e9aa650a81e0.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')
-rw-r--r--ext/tk/sample/tktextio.rb2
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