Class: Schema::Brand

Inherits:
Capnp::Struct show all
Defined in:
lib/capnp/generator/schema.capnp.rb

Defined Under Namespace

Classes: Binding, List, Scope

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

#scopesObject



893
# File 'lib/capnp/generator/schema.capnp.rb', line 893

def scopes = Schema::Brand::Scope::List.from_pointer(read_pointer(0))

#to_objObject



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