Sha256: 57bd0c7699bd20844934326e6363057620a7fe65a862ed0cb1f2759a6022d52d
Contents?: true
Size: 433 Bytes
Versions: 8
Compression:
Stored size: 433 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) klass = new(data) klass.parse klass.hash end def parse @hash = JSON.parse(@data) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems