Method: Uncool::Trace#initialize

Defined in:
lib/uncool/trace.rb

#initialize(targets, options = {}) ⇒ Trace

Returns a new instance of Trace.



19
20
21
22
23
# File 'lib/uncool/trace.rb', line 19

def initialize(targets, options={})
  @targets = [targets].compact.flatten
  @options = options
  @log = []
end