Sha256: c1c74bed2e723aebde76634025554d41614e66fc364a80ce7aa42db9ca089081
Contents?: true
Size: 404 Bytes
Versions: 11
Compression:
Stored size: 404 Bytes
Contents
class Asetus def to_json config Adapter::JSON.to config._asetus_to_hash end def from_json json Adapter::JSON.from json end class Adapter class JSON class << self def to hash require 'json' ::JSON.pretty_generate hash end def from json require 'json' ::JSON.load json end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems