aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
diff options
context:
space:
mode:
authorTorsten Braun <tbraun@hex00r.de>2016-03-23 14:20:49 +0100
committerTorsten Braun <tbraun@hex00r.de>2016-03-23 14:20:49 +0100
commite7b02a33281ea0c06ef2e785599f4e96786abfe3 (patch)
tree0f8a41ca164f1c8e63fb012a862f380abab07bdd /activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
parent1dbc792e6e6e91e93a958650c580520ace60e24c (diff)
downloadrails-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/active_support/core_ext/module/attribute_accessors.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/module/attribute_accessors.rb2
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