Class: Schema::Node::GroupEnum
- Inherits:
-
Capnp::Struct
- Object
- Capnp::Struct
- Schema::Node::GroupEnum
- 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
#enumerants ⇒ Object
76 |
# File 'lib/capnp/generator/schema.capnp.rb', line 76 def enumerants = Schema::Enumerant::List.from_pointer(read_pointer(3)) |
#to_obj ⇒ Object
78 79 80 81 82 |
# File 'lib/capnp/generator/schema.capnp.rb', line 78 def to_obj res = {} res["enumerants"] = enumerants&.to_obj res end |