# File lib/simple-rss.rb, line 40 def initialize(source, options={}) @source = source.respond_to?(:read) ? source.read : source.to_s @items = Array.new @options = Hash.new.update(options) parse end
The strict attribute is for compatibility with Ruby's standard RSS parser
# File lib/simple-rss.rb, line 67 def parse(source, options={}) new source, options end
# File lib/simple-rss.rb, line 48 def channel() self end