Skip to content

Commit

Permalink
Merge pull request #1 from joseph/entry-instantiation
Browse files Browse the repository at this point in the history
Instantiate Entry from Parser with correct argument order.
  • Loading branch information
zetaben committed Dec 23, 2011
2 parents 9e211b5 + b1cf2c9 commit 1848efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opds/parser.rb
Expand Up @@ -26,7 +26,7 @@ def parse(content,browser=nil)
case @sniffed_type case @sniffed_type
when :acquisition then return OPDS::AcquisitionFeed.from_nokogiri(@ret,browser) when :acquisition then return OPDS::AcquisitionFeed.from_nokogiri(@ret,browser)
when :navigation then return OPDS::NavigationFeed.from_nokogiri(@ret,browser) when :navigation then return OPDS::NavigationFeed.from_nokogiri(@ret,browser)
when :entry then return OPDS::Entry.from_nokogiri(@ret,browser) when :entry then return OPDS::Entry.from_nokogiri(@ret,nil,browser)
end end
end end


Expand Down

0 comments on commit 1848efd

Please sign in to comment.