class SerizableConstant
Serializable const
Public Instance Methods
deserialize()
click to toggle source
Deserialize the constant
# File lib/steamd/generator/ruby/serializable_constant.rb, line 17 def deserialize @value = deserialize_primitive end
serialize()
click to toggle source
Serialize the constant
# File lib/steamd/generator/ruby/serializable_constant.rb, line 12 def serialize serialize_primitive end
type()
click to toggle source
Override the type for constants, always integer
@return [Type]
# File lib/steamd/generator/ruby/serializable_constant.rb, line 7 def type Type.new('int') end