Class: Schema::Type::GroupList
- Inherits:
-
Capnp::Struct
- Object
- Capnp::Struct
- Schema::Type::GroupList
- Defined in:
- lib/capnp/generator/schema.capnp.rb
Instance Method Summary collapse
Methods inherited from Capnp::Struct
decode_pointer, from_pointer, #initialize
Constructor Details
This class inherits a constructor from Capnp::Struct
Instance Method Details
#element_type ⇒ Object
609 |
# File 'lib/capnp/generator/schema.capnp.rb', line 609 def element_type = Schema::Type.from_pointer(read_pointer(0)) |
#to_obj ⇒ Object
611 612 613 614 615 |
# File 'lib/capnp/generator/schema.capnp.rb', line 611 def to_obj res = {} res["element_type"] = element_type&.to_obj res end |