Class: RDF::RDFXML::Reader::REXML::Namespace

Inherits:
Struct
  • Object
show all
Defined in:
lib/rdf/rdfxml/reader/rexml.rb

Overview

For Attribute namespaces

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#hrefObject

Returns the value of attribute href

Returns:

  • (Object)

    the current value of href



19
20
21
# File 'lib/rdf/rdfxml/reader/rexml.rb', line 19

def href
  @href
end

#prefixObject

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



19
20
21
# File 'lib/rdf/rdfxml/reader/rexml.rb', line 19

def prefix
  @prefix
end

Instance Method Details

#to_sObject



20
# File 'lib/rdf/rdfxml/reader/rexml.rb', line 20

def to_s; href; end