Skip to content

Commit

Permalink
Horrible typo
Browse files Browse the repository at this point in the history
  • Loading branch information
benlangfeld committed Jun 9, 2011
1 parent 1e7ae58 commit e30a92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/niceogiri/xml/node.rb
Expand Up @@ -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

Expand Down

0 comments on commit e30a92a

Please sign in to comment.