Class: Schema::Node::GroupInterface

Inherits:
Capnp::Struct show all
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

#methodsObject



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

def methods = Schema::Method::List.from_pointer(read_pointer(3))

#superclassesObject



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

def superclasses = Schema::Superclass::List.from_pointer(read_pointer(4))

#to_objObject



95
96
97
98
99
100
# File 'lib/capnp/generator/schema.capnp.rb', line 95

def to_obj
  res = {}
  res["methods"] = methods&.to_obj
  res["superclasses"] = superclasses&.to_obj
  res
end