Method: GOffice.init
- Defined in:
- lib/goffice.rb
.init ⇒ Object
47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/goffice.rb', line 47 def init class << self remove_method(:init) remove_method(:const_missing) end Gtk.init if Gtk.respond_to?(:init) loader = Loader.new(self) loader.load("GOffice") init class << self remove_method(:init) end end |