Sha256: 9beec970e61b5cb196489bc633f8eeffe4d11f95b45d45686d48fcf91b2cdd1b
Contents?: true
Size: 318 Bytes
Versions: 4
Compression:
Stored size: 318 Bytes
Contents
require 'itunes_parser/plist' module ItunesParser class << self def new(args) raise ArgumentError, 'No Library file specified' if args[:file].nil? || args[:file].empty? xml_file = open(args[:file]) plist = PList.new(file: xml_file) xml_file.close plist end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
itunes_parser-1.1.3 | lib/itunes_parser.rb |
itunes_parser-1.1.2 | lib/itunes_parser.rb |
itunes_parser-1.1.1 | lib/itunes_parser.rb |
itunes_parser-1.1.0 | lib/itunes_parser.rb |