Sha256: 56d42e8bb08cfd656ec441b3a655c910ba5029c212b7a6d214c3c86a9c65d0d0

Contents?: true

Size: 326 Bytes

Versions: 7

Compression:

Stored size: 326 Bytes

Contents

require 'itunes_parser/playlist'
require 'itunes_parser/track'
require 'nokogiri-plist'

module ItunesParser
  class PList
    include Playlist
    include Track

    # Parsed XML with nokogiri-plist
    attr_reader :doc

    # Parses the XML
    def initialize(file: nil)
      @doc = Nokogiri::PList(file)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
itunes_parser-1.1.3 lib/itunes_parser/plist.rb
itunes_parser-1.1.2 lib/itunes_parser/plist.rb
itunes_parser-1.1.1 lib/itunes_parser/plist.rb
itunes_parser-1.1.0 lib/itunes_parser/plist.rb
itunes_parser-1.0.3 lib/itunes_parser/plist.rb
itunes_parser-1.0.2 lib/itunes_parser/plist.rb
itunes_parser-1.0.1 lib/itunes_parser/plist.rb