Permalink
Browse files

Horrible typo

  • Loading branch information...
1 parent 1e7ae58 commit e30a92a8683b31d9a7aba0d6ff38e1920cc0e595 @benlangfeld committed Jun 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit e30a92a

Please sign in to comment.