module Fontina::Windows::Win32::Importer

Public Instance Methods

extern(*) click to toggle source
Calls superclass method
# File lib/fontina/windows/win32/dlload.rb, line 18
def extern(*)
  super.tap { |fn| decorators.send(:define_method, fn.name, &Proc.new) if block_given? }
end

Private Instance Methods

decorators() click to toggle source
# File lib/fontina/windows/win32/dlload.rb, line 24
def decorators
  @decorators ||= Module.new.tap { |m| singleton_class.prepend m }
end