Class: KRPC::Types::SetType
Instance Attribute Summary collapse
-
#value_type ⇒ Object
readonly
Returns the value of attribute value_type.
Attributes inherited from TypeBase
Instance Method Summary collapse
-
#initialize(pb_type) ⇒ SetType
constructor
A new instance of SetType.
Constructor Details
#initialize(pb_type) ⇒ SetType
Returns a new instance of SetType.
123 124 125 126 |
# File 'lib/krpc/types.rb', line 123 def initialize(pb_type) @value_type = TypeStore[pb_type.types.first] super(pb_type, Set) end |
Instance Attribute Details
#value_type ⇒ Object (readonly)
Returns the value of attribute value_type.
122 123 124 |
# File 'lib/krpc/types.rb', line 122 def value_type @value_type end |