Class: Trace

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

Overview

Ruby version of a Trace

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, date, server, appName, root) ⇒ Trace

Returns a new instance of Trace.



11
12
13
14
15
16
17
# File 'lib/agent/trace.rb', line 11

def initialize(id, date, server, appName, root)
  @id = id
  @date = date
  @server = server
  @appName = appName
  @root = root
end

Instance Attribute Details

#rootObject

Returns the value of attribute root.



9
10
11
# File 'lib/agent/trace.rb', line 9

def root
  @root
end