lib/sqlite3.rb



# support multiple ruby version (fat binaries under windows)
begin
  RUBY_VERSION =~ /(\d+\.\d+)/
  require "sqlite3/#{$1}/sqlite3_native"
rescue LoadError
  require "sqlite3/sqlite3_native"
end

require "sqlite3/database"
require "sqlite3/version"

module SQLite3
  # Was sqlite3 compiled with thread safety on?
  def self.threadsafe?
    threadsafe > 0
  end
end