aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module/anonymous.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2018-03-04 21:45:02 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2018-03-04 21:48:10 +0100
commit092e4d7d9ffe621061e72471b95debe12d41f342 (patch)
tree910f3edbc922362ad7326f79272b84b11ac82c3d /activesupport/lib/active_support/core_ext/module/anonymous.rb
parentf4ddbff71c3f2171ad0bd7cb73e44ebf3a4ca245 (diff)
downloadrails-092e4d7d9ffe621061e72471b95debe12d41f342.tar.gz
rails-092e4d7d9ffe621061e72471b95debe12d41f342.tar.bz2
rails-092e4d7d9ffe621061e72471b95debe12d41f342.zip
[ci skip] Fix grammar in delegate, private: true docs.
Convert the user to atheism by ditching the extra example that demonstrates the same thing as date_of_birth. Demonstrate the NoMethodError on date_of_birth first, then call age that uses date_of_birth internally. Thus showing that accessing it publicly fails, but using it internally succeeds.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module/anonymous.rb')
0 files changed, 0 insertions, 0 deletions