diff options
Diffstat (limited to 'ext/tk/lib/tk/canvas.rb')
-rw-r--r-- | ext/tk/lib/tk/canvas.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/lib/tk/canvas.rb b/ext/tk/lib/tk/canvas.rb index 0a2bcad9f1..6651819c03 100644 --- a/ext/tk/lib/tk/canvas.rb +++ b/ext/tk/lib/tk/canvas.rb @@ -227,8 +227,8 @@ class TkCanvas<TkWindow self end - def index(tagOrId, index) - number(tk_send_without_enc('index', tagid(tagOrId), index)) + def index(tagOrId, idx) + number(tk_send_without_enc('index', tagid(tagOrId), idx)) end def insert(tagOrId, index, string) |