Class: Schema::Node::Parameter

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

Defined Under Namespace

Classes: List

Constant Summary collapse

DEFAULT_NAME =
nil

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

#nameObject



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

def name = Capnp::BufferString.from_pointer(read_pointer(0))

#to_objObject



197
198
199
200
201
# File 'lib/capnp/generator/schema.capnp.rb', line 197

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