diff options
author | Torsten Braun <tbraun@hex00r.de> | 2016-03-23 12:09:58 +0100 |
---|---|---|
committer | Torsten Braun <tbraun@hex00r.de> | 2016-03-23 12:09:58 +0100 |
commit | 1dbc792e6e6e91e93a958650c580520ace60e24c (patch) | |
tree | 15891dac89d84c1bf5c438ea5032fb282a7caec6 /activesupport/lib | |
parent | c519d1c2ef28f42342ca4446b8211770b4f551cb (diff) | |
download | rails-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')
-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 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 |