Sha256: 59a1bb8acf6bd657e2e5911e1d5c4ab3b40b7179b56b3f2a3a7e5226d5f289f2

Contents?: true

Size: 648 Bytes

Versions: 3

Compression:

Stored size: 648 Bytes

Contents

require 'json'
require 'msgpack'
require 'ostruct'
require_relative 'iarea/version'

module Iarea # :nodoc:
  DB = MessagePack::unpack(File.read(File.expand_path("../../db/meta.msgpack", __FILE__), :encoding => Encoding::ASCII_8BIT)) # :nodoc:
  MESH = MessagePack::unpack(File.read(File.expand_path("../../db/mesh.msgpack", __FILE__), :encoding => Encoding::ASCII_8BIT)) # :nodoc:
  autoload :Area, File.expand_path('../iarea/area', __FILE__)
  autoload :Zone, File.expand_path('../iarea/zone', __FILE__)
  autoload :Prefecture, File.expand_path('../iarea/prefecture', __FILE__)
  autoload :Utils, File.expand_path('../iarea/utils', __FILE__)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
iarea-0.5.0 lib/iarea.rb
iarea-0.4.2 lib/iarea.rb
iarea-0.4.1 lib/iarea.rb