class LogTools::PostProcessing::Region
A region in a log stream
Attributes
end_time[R]
The end sample of the region
@return [Integer]
start_time[R]
The start sample of the region
@return [Integer]
Public Class Methods
new(s, e)
click to toggle source
# File lib/log_tools/post_processing.rb, line 17 def initialize(s, e) @start_time = s @end_time = e end
Public Instance Methods
==(other)
click to toggle source
# File lib/log_tools/post_processing.rb, line 22 def ==(other) other.kind_of?(Region) && other.start_time == start_time && other.end_time == end_time end