Sha256: cf0b9d43ef93cb0448064dc67fd961d0ab033443b3217495476c1d189203feff
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true require 'json' module Genderize module Io module Parser class Json attr_reader :hash def initialize(data) @data = data @hash = {} end def self.parse(data) instance = new(data) instance.parse instance.hash end def parse @hash = JSON.parse(@data) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
genderize-io-1.4.0 | lib/genderize/io/parser/json.rb |