Class: Amrita2::Template
Instance Method Summary collapse
Instance Method Details
#test_with(value, b = nil) ⇒ Object
132 133 134 135 136 137 138 139 140 |
# File 'lib/amrita2/testsupport.rb', line 132 def test_with(value, b=nil) set_trace(log = "") result = render_with(value, b) yield(result.dup) rescue StandardError p $!, value, result puts log raise end |