change attr_accessor :mode to attr_reader since there is a writer created after

This commit is contained in:
Amos King 2009-01-06 09:45:51 -06:00 committed by cornel.borcean
parent c79d2216b2
commit 714d8679ed

View File

@ -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