class GirFFI::Builder::Type::Union

Implements the creation of a class representing union type. The class will have a nested FFI::Union class to represent its C union.

Public Instance Methods

pretty_print() click to toggle source
# File lib/gir_ffi/builder/type/union.rb, line 15
def pretty_print
  "class #{@classname}\nend"
end