Remove the uri attribute from Namespace.

Oga won't be handling URIs any time soon. The rationale is that they server zero
purpose when it comes to just parsing XML. Another goal of Oga is to make it
easy to modify and reserialize documents back to XML. If namespaces would also
store the URIs this would make this process more difficult.
This commit is contained in:
Yorick Peterse committed 2014-08-07 20:11:17 +02:00
1 parent 97e59fe449
commit 4e18989972
1 file changed
+1 -3
+1 -3
View File
@@ -5,17 +5,15 @@ module Oga
# name and URI.
#
class Namespace
attr_accessor :name, :uri
attr_accessor :name
##
# @param [Hash] options
#
# @option options [String] :name
# @option options [String] :uri
#
def initialize(options = {})
@name = options[:name]
@uri = options[:uri]
end
##