Class: Turnip::StepProfiler::StepExecute

Inherits:
Object
  • Object
show all
Defined in:
lib/turnip/step_profiler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file: '', time: 0) ⇒ StepExecute

Returns a new instance of StepExecute.



9
10
11
12
# File 'lib/turnip/step_profiler.rb', line 9

def initialize(file: '', time: 0)
  @file = file
  @time = time
end

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



7
8
9
# File 'lib/turnip/step_profiler.rb', line 7

def file
  @file
end

#timeObject (readonly)

Returns the value of attribute time.



7
8
9
# File 'lib/turnip/step_profiler.rb', line 7

def time
  @time
end