Class: GirFFI::Builders::EnumBuilder

Inherits:
RegisteredTypeBuilder show all
Includes:
WithMethods
Defined in:
lib/gir_ffi/builders/enum_builder.rb

Overview

Implements the creation of an enum or flags type. The type will be attached to the appropriate namespace module, and will be defined as an enum for FFI.

Instance Attribute Summary

Attributes inherited from GirFFI::BaseTypeBuilder

#info

Method Summary

Methods included from WithMethods

#setup_instance_method, #setup_method

Methods inherited from GirFFI::BaseTypeBuilder

#build_class, #initialize

Methods included from GirFFI::BuilderHelper

#get_or_define_class, #get_or_define_module, #optionally_define_constant

Constructor Details

This class inherits a constructor from GirFFI::BaseTypeBuilder