summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tkentry.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-03 09:40:21 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-03 09:40:21 +0000
commite3c74614dd0495b78acba3fa0620ce5bb0745640 (patch)
tree0d0876c684f83c9a662bcc1000e7150404ba53f8 /ext/tk/lib/tkentry.rb
parenta24583da2eefd65f4ddb43075340a1cb1b9ea62a (diff)
downloadruby-e3c74614dd0495b78acba3fa0620ce5bb0745640.tar.gz
ruby-e3c74614dd0495b78acba3fa0620ce5bb0745640.tar.xz
ruby-e3c74614dd0495b78acba3fa0620ce5bb0745640.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@3901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkentry.rb')
-rw-r--r--ext/tk/lib/tkentry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tkentry.rb b/ext/tk/lib/tkentry.rb
index 2772dfd67..f95fdf340 100644
--- a/ext/tk/lib/tkentry.rb
+++ b/ext/tk/lib/tkentry.rb
@@ -38,7 +38,7 @@ class TkEntry<TkLabel
attr :widget
end
- def initialize(cmd = Proc.new, args=nil)
+ def initialize(cmd = Block.new, args=nil)
if args
@id = install_cmd(proc{|*arg|
TkUtil.eval_cmd cmd, *arg