mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_call_super): inheritance line adjustment moved from
rb_call(). [ruby-core:01113] * eval.c (rb_eval): use rb_call_super() to follow DRY principle. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
63ae7e1c13
commit
c5fc4bca6d
9 changed files with 62 additions and 50 deletions
|
@ -81,11 +81,11 @@ class TkCanvas<TkWindow
|
|||
list(tk_send('bbox', tagid(tagOrId), *tags.collect{|t| tagid(t)}))
|
||||
end
|
||||
|
||||
def itembind(tag, context, cmd=Proc.new, args=nil)
|
||||
def itembind(tag, context, cmd=Block.new, args=nil)
|
||||
_bind([path, "bind", tagid(tag)], context, cmd, args)
|
||||
end
|
||||
|
||||
def itembind_append(tag, context, cmd=Proc.new, args=nil)
|
||||
def itembind_append(tag, context, cmd=Block.new, args=nil)
|
||||
_bind_append([path, "bind", tagid(tag)], context, cmd, args)
|
||||
end
|
||||
|
||||
|
@ -346,7 +346,7 @@ module TkcTagAccess
|
|||
@c.bbox(@id)
|
||||
end
|
||||
|
||||
def bind(seq, cmd=Proc.new, args=nil)
|
||||
def bind(seq, cmd=Block.new, args=nil)
|
||||
@c.itembind @id, seq, cmd, args
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue