Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Horrible typo

  • Loading branch information...
commit e30a92a8683b31d9a7aba0d6ff38e1920cc0e595 1 parent 1e7ae58
@benlangfeld authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/niceogiri/xml/node.rb
View
2  lib/niceogiri/xml/node.rb
@@ -13,7 +13,7 @@ class Node < Nokogiri::XML::Node
def self.new(name = nil, doc = nil, ns = nil)
super(name.to_s, (doc || Nokogiri::XML::Document.new)).tap do |node|
node.document.root = node unless doc
- node.namespace = self.ns if ns
+ node.namespace = ns if ns
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.