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

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

def prefix
  @prefix
end

Instance Method Details

#to_sObject



20
# File 'vendor/bundler/ruby/2.5.0/bundler/gems/rdf-rdfxml-dd99a73f7b99/lib/rdf/rdfxml/reader/rexml.rb', line 20

def to_s; href; end