From e7b02a33281ea0c06ef2e785599f4e96786abfe3 Mon Sep 17 00:00:00 2001 From: Torsten Braun Date: Wed, 23 Mar 2016 14:20:49 +0100 Subject: fixed spelling in the attribute_accessors docu mattr_writer to mattr_reader --- activesupport/lib/active_support/core_ext/module/attribute_accessors.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support') 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 # instance_reader: false or instance_accessor: false. # # module HairColors - # mattr_writer :hair_colors, instance_reader: false + # mattr_reader :hair_colors, instance_reader: false # end # # class Person -- cgit v1.2.3