Sha256: 45f33852f1c47e8710058b563bf15a35af521da8ffc0b81333e005e68132a29d

Contents?: true

Size: 227 Bytes

Versions: 8

Compression:

Stored size: 227 Bytes

Contents

# frozen_string_literal: true

require_relative "base"

class LineTracer < Tracer::Base
  def setup_tp
    TracePoint.new(:line) do |tp|
      next if skip?(tp)
      # pp tp.object_id, caller(0)
      out tp
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
tracer-0.2.3 lib/tracer/line_tracer.rb
tracer-0.2.2 lib/tracer/line_tracer.rb
tracer-0.2.1 lib/tracer/line_tracer.rb
tracer-0.2.0 lib/tracer/line_tracer.rb
ruby_tracer-0.3.1 lib/ruby_tracer/line_tracer.rb
ruby_tracer-0.3.0 lib/ruby_tracer/line_tracer.rb
ruby_tracer-0.2.0 lib/ruby_tracer/line_tracer.rb
ruby_tracer-0.1.0 lib/ruby_tracer/line_tracer.rb