Class: VpsbClient::Datafiles::TimingLogParser

Inherits:
LogfileInterval::ParsedLine::Base
  • Object
show all
Defined in:
lib/vpsb_client/datafiles/timing_log_parser.rb

Constant Summary collapse

PXX_RANGES =
{
  100 => 2,
  200 => 10,
  500 => 20,
  1000 => 50,
  3000 => 100
}

Instance Method Summary collapse

Instance Method Details

#timeObject



27
28
29
# File 'lib/vpsb_client/datafiles/timing_log_parser.rb', line 27

def time
  Time.at(self.timestamp.to_i)
end