class Bade::AST::TagNode
Attributes
name[RW]
@return [String]
Public Instance Methods
==(other)
click to toggle source
@param [TagNode] other
Calls superclass method
Bade::AST::Node#==
# File lib/bade/ast/node/tag_node.rb, line 12 def ==(other) super && name == other.name end
attributes()
click to toggle source
@return [Array<KeyValueNode>]
# File lib/bade/ast/node/tag_node.rb, line 18 def attributes children.select { |n| n.type == :tag_attr } end