Sha256: a1b1491d2357b87814ff573ef236c963a7b5618d81ea5d25b43bf9465803c936
Contents?: true
Size: 320 Bytes
Versions: 5
Compression:
Stored size: 320 Bytes
Contents
module Ffprober module Parsers class Json def initialize(json_to_parse) fail ArgumentError.new("No JSON input data") if json_to_parse.nil? @json_to_parse = json_to_parse end def json @json ||= JSON.parse(@json_to_parse, symbolize_names: true) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems