Class: Protobug::Field::GroupField
- Inherits:
-
Protobug::Field
- Object
- Protobug::Field
- Protobug::Field::GroupField
- Defined in:
- lib/protobug/field.rb
Instance Attribute Summary
Attributes inherited from Protobug::Field
#adder, #cardinality, #clearer, #haser, #ivar, #json_name, #name, #number, #oneof, #setter
Instance Method Summary collapse
-
#initialize(*args, group_type:, **kwargs) ⇒ GroupField
constructor
A new instance of GroupField.
Methods inherited from Protobug::Field
#binary_decode, #binary_encode, #define_adder, #json_decode, #json_encode, #json_key_encode, #optional?, #packed?, #pretty_print, #proto3_optional?, #repeated?, #to_text, #validate!
Constructor Details
#initialize(*args, group_type:, **kwargs) ⇒ GroupField
Returns a new instance of GroupField.
740 741 742 743 |
# File 'lib/protobug/field.rb', line 740 def initialize(*args, group_type:, **kwargs) _ = group_type super(*args, **kwargs) end |