> @@ -64,6 +51,36 @@ def local_host
>          "127.0.0.1"
>        end
>  
> +      # Error rescued by middleware.
> +      #
> +      # @return [Exception or NilClass]
> +      def error
> +        @middleware.error
> +      end
> +
> +      # Check if exception catcher is enabled.
> +      #
> +      # @return [Boolean] true if exception catcher is and can be enabled, 
> false otherwise.
> +      def catch_exceptions
> +        @catch_exceptions = true if @catch_exceptions.nil?

Good idea regarding:
````ruby
!!@ignore_rails_exceptions
````

Let's call it `ignore_exceptions`.

---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-rails/pull/2/files#r4342935
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to