Permalink
Browse files

tag_name should be name. There's no tag_name element in Nokogiri::XML…

…::Element (or Node).
  • Loading branch information...
mohawkjohn committed Nov 18, 2011
1 parent 8056bbb commit 3030a91c89845183dadd15d2042c29a2f2a42102
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rubyvis/scene/svg_scene.rb
@@ -150,7 +150,7 @@ def self.append(e,scenes,index)
def self.title(e,s)
a = e.parent
- a=nil if (a and (a.tag_name != "a"))
+ a=nil if (a and (a.name != "a"))
if (s.title)
if (!a)
a = self.create("a")

0 comments on commit 3030a91

Please sign in to comment.