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

Inherits:
Struct
  • Object
show all
Defined in:
vendor/bundler/ruby/3.3.0/bundler/gems/rdf-rdfxml-6b89d4c13d63/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 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-rdfxml-6b89d4c13d63/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 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-rdfxml-6b89d4c13d63/lib/rdf/rdfxml/reader/rexml.rb', line 19

def prefix
  @prefix
end

Instance Method Details

#to_sObject



20
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-rdfxml-6b89d4c13d63/lib/rdf/rdfxml/reader/rexml.rb', line 20

def to_s; href; end