test/rutest_utils.rb in openwferu-0.9.4 vs test/rutest_utils.rb in openwferu-0.9.5

- old
+ new

@@ -4,12 +4,25 @@ # John Mettraux at openwfe.org # # Mon Oct 9 22:19:44 JST 2006 # -class Tracer < String +class Tracer + def initialize + super + @trace = "" + end + def to_s - super.to_s.strip + @trace.to_s.strip + end + + def << s + @trace << s + end + + def clear + @trace = "" end end