Sha256: 03dbc77fb9feaaa94be38e589c6fee8ab961efed9b731974d792e0c85fbdc257

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

require "iptcr/version"

module IPTCR
  def self.parse(value, length: nil)
    if value.is_a? String
      require "stringio"
      length ||= value.bytesize
      IPTC.new(StringIO.new(value), length: length)
    else
      IPTC.new(value, length: length)
    end
  end

  autoload :IPTC, "iptcr/iptc"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iptcr-0.1.0 lib/iptcr.rb