Sha256: 702cdda42cd770d157eea5cd78f509e8d255f8bb79dfb71ae49949eeafdee435
Contents?: true
Size: 376 Bytes
Versions: 1
Compression:
Stored size: 376 Bytes
Contents
require "iptcr/version" module IPTCR class Malformed < RuntimeError; end def self.parse(value, length: nil, **kwargs) if value.is_a? String require "stringio" length ||= value.bytesize IPTC.new(StringIO.new(value), length: length, **kwargs) else IPTC.new(value, length: length, **kwargs) end end autoload :IPTC, "iptcr/iptc" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iptcr-0.1.1 | lib/iptcr.rb |