Class: Schema::Node::GroupConst
Instance Method Summary
collapse
decode_pointer, from_pointer, #initialize
Constructor Details
This class inherits a constructor from Capnp::Struct
Instance Method Details
#to_obj ⇒ Object
113
114
115
116
117
118
|
# File 'lib/capnp/generator/schema.capnp.rb', line 113
def to_obj
res = {}
res["type"] = type&.to_obj
res["value"] = value&.to_obj
res
end
|
#type ⇒ Object
109
|
# File 'lib/capnp/generator/schema.capnp.rb', line 109
def type = Schema::Type.from_pointer(read_pointer(3))
|