Class: Pio::FlowMod::Body::Match

Inherits:
BinData::Primitive
  • Object
show all
Defined in:
lib/pio/flow_mod.rb

Overview

Pio::MatchFormat wrapper.

Instance Method Summary collapse

Instance Method Details

#getObject



42
43
44
# File 'lib/pio/flow_mod.rb', line 42

def get
  Pio::Match.read match
end

#set(object) ⇒ Object



38
39
40
# File 'lib/pio/flow_mod.rb', line 38

def set(object)
  self.match = object.to_binary_s
end