To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorSaxerator 0.7.1
Saxerator is a streaming xml-to-hash DSL designed for working with very large xml files by
giving you Enumerable access to manageable chunks of a document.
Basic example
require 'saxerator'
parser = Saxerator.parser(File.new("rss.xml"))
parser.for_tag(:item).each do |item|
# where the xml contains <item><title>...</title><author>...</author></item>
# item will look like {'title' => '...', 'author' => '...'}
puts "#{item['title']}: #{item['author']}"
end
Legal Stuff
Copyright © Bradley Schaefer. MIT License (see LICENSE file).
Topics
Last published over 5 years ago by Soulcutter.