Class: Dommy::Internal::XmlSerialization::Attr

Inherits:
Struct
  • Object
show all
Defined in:
lib/dommy/internal/xml_serialization.rb

Overview

An attribute as the algorithm sees it (regular or a synthesized xmlns).

Instance Attribute Summary collapse

Instance Attribute Details

#local_nameObject

Returns the value of attribute local_name

Returns:

  • (Object)

    the current value of local_name



25
26
27
# File 'lib/dommy/internal/xml_serialization.rb', line 25

def local_name
  @local_name
end

#namespaceObject

Returns the value of attribute namespace

Returns:

  • (Object)

    the current value of namespace



25
26
27
# File 'lib/dommy/internal/xml_serialization.rb', line 25

def namespace
  @namespace
end

#prefixObject

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



25
26
27
# File 'lib/dommy/internal/xml_serialization.rb', line 25

def prefix
  @prefix
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



25
26
27
# File 'lib/dommy/internal/xml_serialization.rb', line 25

def value
  @value
end