module URI::URN
Constants
- COMPONENT
Public Class Methods
build(args)
click to toggle source
# File lib/uri/urn.rb, line 16 def self.build(args) tmp = Util.make_components_hash(self, args) @@nids[tmp[:nid].to_s.upcase].build(tmp) end
component()
click to toggle source
# File lib/uri/urn.rb, line 7 def self.component COMPONENT end
new(*arg)
click to toggle source
# File lib/uri/urn.rb, line 11 def self.new(*arg) nid = (md = arg[6].to_s.match(Generic::URN_REGEXP)) && md['nid'] @@nids[nid.to_s.upcase].new(*arg) end
nid_list()
click to toggle source
# File lib/uri/urn.rb, line 115 def self.nid_list @@nids end