summaryrefslogtreecommitdiff
path: root/lib/tracer.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-26 13:17:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-26 13:17:07 +0000
commit771240704854bd767f5873fa4199966f756f5b93 (patch)
tree229e239ed32446abd89938d6c5591dcade4179c5 /lib/tracer.rb
parentc0eb57417cb5f6ebce13c0349f51ed6a9e22e91f (diff)
downloadbundler-771240704854bd767f5873fa4199966f756f5b93.tar.gz
* lib/mkmf.rb, lib/optparse.rb, lib/tracer.rb: use Method#to_block
instead of deprecated Method#to_proc. (ruby-bugs-ja:PR#477) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tracer.rb')
-rw-r--r--lib/tracer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tracer.rb b/lib/tracer.rb
index 3ccf1b5017..673290c2ab 100644
--- a/lib/tracer.rb
+++ b/lib/tracer.rb
@@ -62,7 +62,7 @@ class Tracer
off
end
else
- set_trace_func method(:trace_func).to_proc
+ set_trace_func method(:trace_func).to_block
stdout.print "Trace on\n" if Tracer.verbose?
end
end