aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorTorsten Braun <tbraun@hex00r.de>2016-03-23 12:09:58 +0100
committerTorsten Braun <tbraun@hex00r.de>2016-03-23 12:09:58 +0100
commit1dbc792e6e6e91e93a958650c580520ace60e24c (patch)
tree15891dac89d84c1bf5c438ea5032fb282a7caec6 /activesupport/lib/active_support/core_ext
parentc519d1c2ef28f42342ca4446b8211770b4f551cb (diff)
downloadrails-1dbc792e6e6e91e93a958650c580520ace60e24c.tar.gz
rails-1dbc792e6e6e91e93a958650c580520ace60e24c.tar.bz2
rails-1dbc792e6e6e91e93a958650c580520ace60e24c.zip
fixed spellin in the mattr_reader documentation
renamed cattr_reader to mattr_reader
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-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 76825862d7..1106c65a0c 100644
--- a/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
+++ b/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
@@ -40,7 +40,7 @@ class Module
# Also, you can pass a block to set up the attribute with a default value.
#
# module HairColors
- # cattr_reader :hair_colors do
+ # mattr_reader :hair_colors do
# [:brown, :black, :blonde, :red]
# end
# end