Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix tracing with tag wrappers (issue #1).

  • Loading branch information...
commit 13704ea212d761276ca856c29f6873bfff7639a1 1 parent 63958e9
whitequark authored
Showing with 9 additions and 1 deletion.
  1. +1 −1  furnace-swf.gemspec
  2. +8 −0 lib/furnace-swf/swf/tag_wrapper.rb
2  furnace-swf.gemspec
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
8 lib/furnace-swf/swf/tag_wrapper.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.