diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-04-16 23:07:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 23:07:43 -0400 |
commit | 5003d5996a3d29d6614ccf714ad05f911aa30cff (patch) | |
tree | 1d12f6d41c15b45aaaec7bf6210ed0b095aed87b /activesupport/lib/active_support/core_ext/module/attribute_accessors.rb | |
parent | 75210560f1b50e0750def1700e54ffb1fa80c64c (diff) | |
parent | 3137a8739e7cb0885cb3f9f631dbca8107448ce5 (diff) | |
download | rails-5003d5996a3d29d6614ccf714ad05f911aa30cff.tar.gz rails-5003d5996a3d29d6614ccf714ad05f911aa30cff.tar.bz2 rails-5003d5996a3d29d6614ccf714ad05f911aa30cff.zip |
Merge pull request #32582 from cassidycodes/better-examples
Inclusive Language in Documentation Examples
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.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>. |