Sha256: 5806181eb8a313ef565b1b28044e4bc7bde2749a4e7165794d5569df8aedc2a5
Contents?: true
Size: 383 Bytes
Versions: 18
Compression:
Stored size: 383 Bytes
Contents
require_relative 'loader' require 'json' module Prmd #:nodoc: module MultiLoader #:nodoc: # JSON MultiLoader module Json extend Prmd::MultiLoader::Loader # @see (Prmd::MultiLoader::Loader#load_data) def self.load_data(data) ::JSON.load(data) end # register this loader for all .json files extensions '.json' end end end
Version data entries
18 entries across 18 versions & 1 rubygems