Ticket #48 (new defect)
markaby 0.5 is warnings clean! YAY! but builder isn't BOO
| Reported by: | zenspider | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | lib | Version: | |
| Keywords: | Cc: |
Description
This'll patch it up. Unfortunately Jim doesn't have trackers enabled so I'll have to send him an email. He's been crazy busy lately so I don't think it is going to get cleaned up anytime soon.
Could you please add the following diff?
Index: lib/markaby/builder.rb
===================================================================
--- lib/markaby/builder.rb (revision 99)
+++ lib/markaby/builder.rb (working copy)
@@ -269,6 +269,9 @@
class XmlMarkup < ::Builder::XmlMarkup
attr_accessor :target, :level
+ def initialize(options={})
+ super
+ @self = nil unless defined? @self
+ end
end
-
end
Change History
Note: See
TracTickets for help on using
tickets.