Class: Wx::PenStyle

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

Overview

need to add this Enum explicitly as it was initially defined before we extended the Wx::Enum class above

Instance Method Summary collapse

Instance Method Details

#init_from_serialized(data) ⇒ Object



84
85
86
# File 'lib/wx/shapes/serialize/wx.rb', line 84

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