class Pio::OpenFlow10::Error::ErrorType10
enum ofp_error_type
Constants
- ERROR_TYPES
Public Instance Methods
get()
click to toggle source
# File lib/pio/open_flow10/error/error_type10.rb, line 20 def get ERROR_TYPES.invert.fetch(error_type) end
set(value)
click to toggle source
# File lib/pio/open_flow10/error/error_type10.rb, line 24 def set(value) self.error_type = ERROR_TYPES.fetch(value) end