Permalink
Browse files

Fix tracing with tag wrappers (issue #1).

  • Loading branch information...
1 parent 63958e9 commit 13704ea212d761276ca856c29f6873bfff7639a1 @whitequark committed Jul 7, 2012
Showing with 9 additions and 1 deletion.
  1. +1 −1 furnace-swf.gemspec
  2. +8 −0 lib/furnace-swf/swf/tag_wrapper.rb
View
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
-s.add_runtime_dependency "bindata"
+ s.add_runtime_dependency "bindata"
s.add_runtime_dependency "trollop"
end
@@ -81,5 +81,13 @@ def content_size
@content.length
end
end
+
+ def debug_name_of(child)
+ if child.is_a?(Tag)
+ "#{debug_name}.content"
+ else
+ super
+ end
+ end
end
end

0 comments on commit 13704ea

Please sign in to comment.