wraps an object. if it throws an exception, keeps a copy.
# File lib/sup/util.rb, line 597 def __pass m, *a, &b begin @o.send(m, *a, &b) rescue Exception => e @error ||= e raise end end
# File lib/sup/util.rb, line 583 def clear_error!; @error = nil; end
# File lib/sup/util.rb, line 584 def has_errors?; !@error.nil?; end
# File lib/sup/util.rb, line 586 def method_missing m, *a, &b; __pass m, *a, &b end
Generated with the Darkfish Rdoc Generator 2.