diff options
author | Cassidy Kobewka <hello@cassidy.codes> | 2018-04-15 10:42:56 -0400 |
---|---|---|
committer | Cassidy Kobewka <hello@cassidy.codes> | 2018-04-15 12:34:30 -0400 |
commit | 2aa8e0a56f39f0a44f4deb19c856314a7a473b2f (patch) | |
tree | 681bde8bf44ea85dae3c06e1e361a18b165f959c /activesupport | |
parent | d472229f1fb76f73b6bc678191057a554ce52f51 (diff) | |
download | rails-2aa8e0a56f39f0a44f4deb19c856314a7a473b2f.tar.gz rails-2aa8e0a56f39f0a44f4deb19c856314a7a473b2f.tar.bz2 rails-2aa8e0a56f39f0a44f4deb19c856314a7a473b2f.zip |
Inclusive Language in Documentation Examples [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/attribute_accessors.rb | 4 |
1 files changed, 2 insertions, 2 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 580baffa2b..01fee0fb74 100644 --- a/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +++ b/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb @@ -163,10 +163,10 @@ class Module # parent class. Similarly if parent class changes the value then that would # change the value of subclasses too. # - # class Male < Person + # class Citizen < Person # end # - # Male.new.hair_colors << :blue + # Citizen.new.hair_colors << :blue # Person.new.hair_colors # => [:brown, :black, :blonde, :red, :blue] # # To opt out of the instance writer method, pass <tt>instance_writer: false</tt>. |