Class: Fiveruns::Tuneup::DisparityStep

Inherits:
Step show all
Defined in:
lib/fiveruns/tuneup/step.rb

Instance Attribute Summary

Attributes inherited from Step

#extras, #layer, #name

Attributes inherited from RootStep

#bar, #children, #parent, #time

Instance Method Summary collapse

Methods inherited from Step

#children_with_disparity, inside, #layer_portions, #layer_times, load, reset!, stack, #to_json

Methods inherited from RootStep

#add_child, #disparity, #format_time, #layer_portions, #proportion, #record, #root, #template, #to_html_with_children, #to_json

Methods included from Templating

#h, #to_html

Constructor Details

#initialize(layer_name, disparity) ⇒ DisparityStep

Returns a new instance of DisparityStep.



265
266
267
268
# File 'lib/fiveruns/tuneup/step.rb', line 265

def initialize(layer_name, disparity)
  super '(Other)', layer_name, {}, disparity
  @extras = build_extras description
end