diff options
author | Torsten Braun <tbraun@hex00r.de> | 2016-03-23 14:20:49 +0100 |
---|---|---|
committer | Torsten Braun <tbraun@hex00r.de> | 2016-03-23 14:20:49 +0100 |
commit | e7b02a33281ea0c06ef2e785599f4e96786abfe3 (patch) | |
tree | 0f8a41ca164f1c8e63fb012a862f380abab07bdd /activesupport/lib | |
parent | 1dbc792e6e6e91e93a958650c580520ace60e24c (diff) | |
download | rails-e7b02a33281ea0c06ef2e785599f4e96786abfe3.tar.gz rails-e7b02a33281ea0c06ef2e785599f4e96786abfe3.tar.bz2 rails-e7b02a33281ea0c06ef2e785599f4e96786abfe3.zip |
fixed spelling in the attribute_accessors docu
mattr_writer to mattr_reader
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/attribute_accessors.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb b/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb index 1106c65a0c..567ac825e9 100644 --- a/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +++ b/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb @@ -27,7 +27,7 @@ class Module # <tt>instance_reader: false</tt> or <tt>instance_accessor: false</tt>. # # module HairColors - # mattr_writer :hair_colors, instance_reader: false + # mattr_reader :hair_colors, instance_reader: false # end # # class Person |