Class: CamTool::CheckPacket
- Inherits:
-
ProvJSONParser
- Object
- ProvJSONParser
- CamTool::CheckPacket
- Defined in:
- lib/camtool/check_packet.rb
Instance Method Summary collapse
- #entity(k, v) ⇒ Object
-
#initialize ⇒ CheckPacket
constructor
A new instance of CheckPacket.
Methods inherited from ProvJSONParser
#activity, #agent, #parse_json, #prefix, #read_json_file, #read_log_file, #relation, #used, #wasAssociatedWith, #wasDerivedFrom, #wasGeneratedBy, #wasInformedBy
Constructor Details
#initialize ⇒ CheckPacket
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 |