Class: Wx::Enum

Inherits:
Object
  • Object
show all
Includes:
FIRM::Serializable
Defined in:
lib/wx/shapes/serialize/wx.rb

Instance Method Summary collapse

Instance Method Details

#init_from_serialized(data) ⇒ Object



42
43
44
# File 'lib/wx/shapes/serialize/wx.rb', line 42

def init_from_serialized(data)
  self.__send__(:initialize, data[:value] || 0)
end