class KRPC::Types::ValueType
Public Class Methods
new(pb_type)
click to toggle source
Calls superclass method
KRPC::Types::TypeBase::new
# File lib/krpc/types.rb, line 87 def initialize(pb_type) super(pb_type, PROTOBUF_TO_RUBY_VALUE_TYPES[pb_type.code] || raise(ValueError, "#{pb_type.code} is not a valid type code for a value type")) end