Skip to content

Commit

Permalink
change attr_accessor :mode to attr_reader since there is a writer cre…
Browse files Browse the repository at this point in the history
…ated after
  • Loading branch information
Amos King authored and cornel.borcean committed Jan 12, 2009
1 parent c79d221 commit 714d867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webrat/core/configuration.rb
Expand Up @@ -24,7 +24,7 @@ class Configuration
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
Expand Down

0 comments on commit 714d867

Please sign in to comment.