From 714d8679ed468b42968d7e69770a63bb8a5d98e0 Mon Sep 17 00:00:00 2001 From: Amos King Date: Tue, 6 Jan 2009 09:45:51 -0600 Subject: [PATCH] change attr_accessor :mode to attr_reader since there is a writer created after --- lib/webrat/core/configuration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/webrat/core/configuration.rb b/lib/webrat/core/configuration.rb index 0e4c522..c2120b7 100755 --- a/lib/webrat/core/configuration.rb +++ b/lib/webrat/core/configuration.rb @@ -24,7 +24,7 @@ module Webrat attr_writer :parse_with_nokogiri # Webrat's mode, set automatically when requiring webrat/rails, webrat/merb, etc. - attr_accessor :mode # :nodoc: + attr_reader :mode # :nodoc: # Save and open pages with error status codes (500-599) in a browser? Defualts to true. attr_writer :open_error_files