Moved the parser class to Oga::Parser.

Oga will use the same parser for XML and HTML so it doesn't make sense to
separate the two into different namespaces (at least for now).
This commit is contained in:
Yorick Peterse committed 2014-03-11 22:01:50 +01:00
1 parent 77b40d2e81
commit 8ce76be050
5 files changed
+258 -4

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ module Oga
# @return [Oga::AST::Node]
#
def parse_html(input)
return Oga::Parser::HTML.new.parse(input)
return Oga::Parser.new.parse(input)
end
end # ParsingHelpers
end # Oga