Sha256: 6e0a46ba251f64923f6d24e21b4d8fccf5bc5790bd69005498fd62a594b40eab

Contents?: true

Size: 746 Bytes

Versions: 3

Compression:

Stored size: 746 Bytes

Contents

require 'rbconfig'

begin
  if defined? NSObject then
    require "#{File.dirname(__FILE__)}/gosu.for_macruby.bundle"
    require "#{File.dirname(__FILE__)}/hotgosu.rb"
  elsif defined? RUBY_VERSION and RUBY_VERSION[0..2] == '1.9' then
    require "#{File.dirname(__FILE__)}/gosu.for_1_9.#{Config::CONFIG['DLEXT']}"
    require "#{File.dirname(__FILE__)}/gosu/swig_patches.rb"
  else
    require "#{File.dirname(__FILE__)}/gosu.for_1_8.#{Config::CONFIG['DLEXT']}"
    require "#{File.dirname(__FILE__)}/gosu/swig_patches.rb"
  end
rescue LoadError => e
  require "#{File.dirname(__FILE__)}/gosu.custom.#{Config::CONFIG['DLEXT']}"
  require "#{File.dirname(__FILE__)}/gosu/swig_patches.rb"
end

require "#{File.dirname(__FILE__)}/gosu/patches.rb"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gosu-0.7.19-universal-darwin lib/gosu.rb
gosu-0.7.19 lib/gosu.rb
gosu-0.7.19-i386-mingw32 lib/gosu.rb