Class: GirFFI::Builder::Type::Constant

Inherits:
Base
  • Object
show all
Defined in:
lib/gir_ffi/builder/type/constant.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 Base

#info

Method Summary

Methods inherited from Base

#build_class, #initialize

Methods included from GirFFI::BuilderHelper

#const_defined_for, #optionally_define_constant

Constructor Details

This class inherits a constructor from GirFFI::Builder::Type::Base