class GObjectIntrospection::Loader

Attributes

version[RW]

Public Class Methods

new(base_module) click to toggle source
# File gobject-introspection/lib/gobject-introspection/loader.rb, line 30
def initialize(base_module)
  @base_module = base_module
  @version = nil
end

Public Instance Methods

load(namespace, base_module, options={}) click to toggle source
# File gobject-introspection/lib/gobject-introspection/loader.rb, line 22
def load(namespace, base_module, options={})
  loader = new(base_module)
  loader.version = options[:version]
  loader.load(namespace)
end