Sha256: c75ec08309bd5cc3f77dccdb3a944a44902d7ffea053593ab2d1bfe1bbaecbcd

Contents?: true

Size: 175 Bytes

Versions: 3

Compression:

Stored size: 175 Bytes

Contents

module Geo::Instance
  private
  
  def instance #:nodoc:
    Thread.current[:"geo_instance_instance"] ||= ::GeoIP.new( "#{File.dirname(__FILE__)}/GeoLiteCity.dat")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
geo-lite-city-0.0.3 lib/geo/instance.rb
geo-lite-city-0.0.2 lib/geo/instance.rb
geo-lite-city-0.0.1 lib/geo/instance.rb