Renamed XML::Builder to XML::TreeBuilder.

This commit is contained in:
Yorick Peterse 2014-03-28 16:37:37 +01:00
parent 331726b2ca
commit 6d866523b8
2 changed files with 3 additions and 3 deletions

View File

@ -10,6 +10,6 @@ require_relative 'oga/xml/document'
require_relative 'oga/xml/text'
require_relative 'oga/xml/comment'
require_relative 'oga/xml/cdata'
require_relative 'oga/xml/builder'
require_relative 'oga/xml/tree_builder'
require_relative 'oga/html/parser'

View File

@ -6,7 +6,7 @@ module Oga
# @!attribute [r] ast
# @return [Oga::AST::Node]
#
class Builder < ::AST::Processor
class TreeBuilder < ::AST::Processor
attr_reader :ast
def on_document(node)
@ -74,6 +74,6 @@ module Oga
def on_attribute(node)
return *node
end
end # Builder
end # TreeBuilder
end # XML
end # Oga