Sha256: f53651ed8b004fe39f9247432351581d979c13e0bdf67b7c804719dd3b8353ed
Contents?: true
Size: 334 Bytes
Versions: 13
Compression:
Stored size: 334 Bytes
Contents
class Forgery class Formats def initialize @formats = {} end def [](key) symbolized_key = key.to_sym @formats[symbolized_key] ||= FileReader.read_format(symbolized_key) end def loaded?(key) @formats.has_key?(key.to_sym) end def reset! @formats = {} end end end
Version data entries
13 entries across 13 versions & 1 rubygems