Class: Mihari::Structs::BinaryEdge::Event
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Mihari::Structs::BinaryEdge::Event
- Defined in:
- lib/mihari/structs/binaryedge.rb
Instance Attribute Summary collapse
- #target ⇒ Target readonly
Class Method Summary collapse
Instance Attribute Details
Class Method Details
.from_dynamic!(d) ⇒ Object
33 34 35 36 37 38 |
# File 'lib/mihari/structs/binaryedge.rb', line 33 def from_dynamic!(d) d = Types::Hash[d] new( target: Target.from_dynamic!(d.fetch("target")) ) end |