class Lutaml::Model::Xml::Element
def element_tag
def element_tag @name unless text? end
def eql?(other)
def eql?(other) return false unless other.is_a?(self.class) instance_variables.all? do |var| instance_variable_get(var) == other.instance_variable_get(var) end end
def initialize(type, name)
def initialize(type, name) @type = type @name = name end
def text?
def text? @type == "Text" && @name != "#cdata-section" end