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