Class: GirFFI::Builders::ConstantBuilder

Inherits:
GirFFI::BaseTypeBuilder show all
Defined in:
lib/gir_ffi/builders/constant_builder.rb

Overview

Implements the creation of a constant. Though semantically not a type, its build method is like that of the types, in that it is triggered by a missing constant in the parent namespace. The constant will be attached to the appropriate namespace module.

Instance Attribute Summary

Attributes inherited from GirFFI::BaseTypeBuilder

#info

Method Summary

Methods inherited from GirFFI::BaseTypeBuilder

#build_class, #initialize

Methods included from GirFFI::BuilderHelper

#const_defined_for, #get_or_define_class, #get_or_define_module, #optionally_define_constant

Constructor Details

This class inherits a constructor from GirFFI::BaseTypeBuilder