Class: RXaal::XaalNS

Inherits:
Object show all
Defined in:
lib/xaalns.rb

Overview

represents a namespace for the purposes of RXAAL

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url, prefix) ⇒ XaalNS

Returns a new instance of XaalNS.



6
7
8
9
10
11
# File 'lib/xaalns.rb', line 6

def initialize (url, prefix)
  @url = url
  if prefix != nil
    @prefix = prefix
  end
end

Instance Attribute Details

#prefixObject

Returns the value of attribute prefix.



4
5
6
# File 'lib/xaalns.rb', line 4

def prefix
  @prefix
end

#urlObject

Returns the value of attribute url.



4
5
6
# File 'lib/xaalns.rb', line 4

def url
  @url
end