Class: Rubrowser::Trace

Inherits:
Object
  • Object
show all
Defined in:
lib/rubrowser/trace.rb

Instance Method Summary collapse

Constructor Details

#initialize(path: '') ⇒ Trace

Returns a new instance of Trace.



3
4
5
# File 'lib/rubrowser/trace.rb', line 3

def initialize(path: '')
  @path = path
end

Instance Method Details

#runObject



7
8
9
# File 'lib/rubrowser/trace.rb', line 7

def run
  trace_point.enable
end