Class: CamTool::CheckPacket

Inherits:
ProvJSONParser show all
Defined in:
lib/camtool/check_packet.rb

Instance Method Summary collapse

Methods inherited from ProvJSONParser

#activity, #agent, #parse_json, #prefix, #read_json_file, #read_log_file, #relation, #used, #wasAssociatedWith, #wasDerivedFrom, #wasGeneratedBy, #wasInformedBy

Constructor Details

#initializeCheckPacket

Returns a new instance of CheckPacket.



3
4
# File 'lib/camtool/check_packet.rb', line 3

def initialize
end

Instance Method Details

#entity(k, v) ⇒ Object



6
7
8
# File 'lib/camtool/check_packet.rb', line 6

def entity k, v
  puts v['cf:jiffies']+"\t"+v['prov:label'] unless v['prov:type'] != 'packet'
end