Sha256: b8fbd011f39971ed364cecfdf42d3da5038c3002c7440cbef5facbb770636d90

Contents?: true

Size: 332 Bytes

Versions: 40

Compression:

Stored size: 332 Bytes

Contents

require 'glib2'

base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
vendor_dir = base_dir + "vendor" + "local"
vendor_bin_dir = vendor_dir + "bin"
GLib.prepend_environment_path(vendor_bin_dir)
begin
  major, minor, _ = RUBY_VERSION.split(/\./)
  require "#{major}.#{minor}/atk.so"
rescue LoadError
  require 'atk.so'
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
atk-1.2.6-x86-mingw32 lib/atk.rb
atk-1.2.6 lib/atk.rb
atk-1.2.5-x86-mingw32 lib/atk.rb
atk-1.2.5 lib/atk.rb
atk-1.2.4-x86-mingw32 lib/atk.rb
atk-1.2.4 lib/atk.rb
atk-1.2.3 lib/atk.rb
atk-1.2.3-x86-mingw32 lib/atk.rb
atk-1.2.2-x86-mingw32 lib/atk.rb
atk-1.2.2 lib/atk.rb
atk-1.2.1-x86-mingw32 lib/atk.rb
atk-1.2.1 lib/atk.rb
atk-1.2.0-x86-mingw32 lib/atk.rb
atk-1.2.0 lib/atk.rb
atk-1.1.9-x86-mingw32 lib/atk.rb
atk-1.1.9 lib/atk.rb
atk-1.1.8-x86-mingw32 lib/atk.rb
atk-1.1.8 lib/atk.rb
atk-1.1.7 lib/atk.rb
atk-1.1.7-x86-mingw32 lib/atk.rb