new(source, options={})
click to toggle source
def initialize(source, options={})
@source = source.respond_to?(:read) ? source.read : source.to_s
@items = Array.new
@options = Hash.new.update(options)
parse
end
parse(source, options={})
click to toggle source
The strict attribute is for compatibility with Ruby’s standard RSS parser
def parse(source, options={})
new source, options
end