diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-18 15:38:56 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-18 15:38:56 +0000 |
| commit | a5d45b26393937d88fc2108e156dc0bd9b5433d8 (patch) | |
| tree | 3c18f2f2d28784fd58e0324a1092ddb568863d46 /lib/tracer.rb | |
| parent | 719f5c99a2556ab8df968a37438eacde3be328f1 (diff) | |
| download | ruby-a5d45b26393937d88fc2108e156dc0bd9b5433d8.tar.gz ruby-a5d45b26393937d88fc2108e156dc0bd9b5433d8.tar.xz ruby-a5d45b26393937d88fc2108e156dc0bd9b5433d8.zip | |
* lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer mode
only when caller() level size is one. [ruby-core:07389]
* lib/rdoc/parsers/parse_rb.rb: need not to require "tracer".
[ruby-core:07389]
* sample/rtags.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tracer.rb')
| -rw-r--r-- | lib/tracer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tracer.rb b/lib/tracer.rb index 893a9d582..71aa49c30 100644 --- a/lib/tracer.rb +++ b/lib/tracer.rb @@ -162,6 +162,6 @@ if $0 == __FILE__ ARGV.shift Tracer.on require $0 -else +elsif caller(0).size == 1 Tracer.on end |
