Sha256: 45be45f3a7b2f59aff2b6050a832c4334261684e341cefbf8a24fcdf65a17880
Contents?: true
Size: 307 Bytes
Versions: 8
Compression:
Stored size: 307 Bytes
Contents
require "json" class PropertybaseId module Mappings extend self def objects @_objects ||= begin load_json_file("objects") end end private def load_json_file(name) JSON.parse(File.read(File.expand_path('../data/objects.json', __FILE__))) end end end
Version data entries
8 entries across 8 versions & 1 rubygems