Class: Mutant::Segment Private

Inherits:
Object
  • Object
show all
Includes:
Unparser::Adamantium
Defined in:
lib/mutant/segment.rb,
lib/mutant/segment/recorder.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Classes: Recorder

Instance Method Summary collapse

Instance Method Details

#elapsedObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



13
# File 'lib/mutant/segment.rb', line 13

def elapsed = timestamp_end - timestamp_start

#offset_end(recording_start) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



19
20
21
# File 'lib/mutant/segment.rb', line 19

def offset_end(recording_start)
  timestamp_end - recording_start
end

#offset_start(recording_start) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



15
16
17
# File 'lib/mutant/segment.rb', line 15

def offset_start(recording_start)
  timestamp_start - recording_start
end