Class: Fiveruns::Dash::Trace::Step

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

Instance Method Summary collapse

Instance Method Details

#childrenObject



50
51
52
# File 'lib/fiveruns/dash/trace.rb', line 50

def children
  @children ||= []
end

#metricsObject



46
47
48
# File 'lib/fiveruns/dash/trace.rb', line 46

def metrics
  @metrics ||= []
end

#to_fjsonObject



54
55
56
57
58
59
# File 'lib/fiveruns/dash/trace.rb', line 54

def to_fjson
  {
    :metrics => metrics,
    :children => children,
  }.to_fjson
end