Class: Turnip::StepProfiler::StepExecute
- Inherits:
-
Object
- Object
- Turnip::StepProfiler::StepExecute
- Defined in:
- lib/turnip/step_profiler.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#time ⇒ Object
readonly
Returns the value of attribute time.
Instance Method Summary collapse
-
#initialize(file: '', time: 0) ⇒ StepExecute
constructor
A new instance of StepExecute.
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
#file ⇒ Object (readonly)
Returns the value of attribute file.
7 8 9 |
# File 'lib/turnip/step_profiler.rb', line 7 def file @file end |
#time ⇒ Object (readonly)
Returns the value of attribute time.
7 8 9 |
# File 'lib/turnip/step_profiler.rb', line 7 def time @time end |