Class: Schema::Brand
- Inherits:
-
Capnp::Struct
- Object
- Capnp::Struct
- Schema::Brand
- Defined in:
- lib/capnp/generator/schema.capnp.rb
Defined Under Namespace
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
#scopes ⇒ Object
893 |
# File 'lib/capnp/generator/schema.capnp.rb', line 893 def scopes = Schema::Brand::Scope::List.from_pointer(read_pointer(0)) |
#to_obj ⇒ Object
993 994 995 996 997 |
# File 'lib/capnp/generator/schema.capnp.rb', line 993 def to_obj res = {} res["scopes"] = scopes&.to_obj res end |