Renamed XML::Builder to XML::TreeBuilder.
This commit is contained in:
parent
331726b2ca
commit
6d866523b8
|
@ -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'
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue