diff options
author | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2017-11-29 10:12:17 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-29 10:12:17 +0900 |
commit | 055493ce056a663a7b61ae4f88f657d1a355995d (patch) | |
tree | e0811cf0f507525bace647f69f15cb693d8f551c | |
parent | 8633567169bb7b7bbab1ec8ddf6fe140d6db2e99 (diff) | |
parent | 6815ce0be7febfea9b45643fb6b5e77e610bf0e6 (diff) | |
download | rails-055493ce056a663a7b61ae4f88f657d1a355995d.tar.gz rails-055493ce056a663a7b61ae4f88f657d1a355995d.tar.bz2 rails-055493ce056a663a7b61ae4f88f657d1a355995d.zip |
Merge pull request #31270 from tjschuck/deprecation_example_code_formatting
Formatting fix for example code
-rw-r--r-- | activesupport/lib/active_support/deprecation/constant_accessor.rb | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/deprecation/proxy_wrappers.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/deprecation/constant_accessor.rb b/activesupport/lib/active_support/deprecation/constant_accessor.rb index dd515cd6f4..1ed0015812 100644 --- a/activesupport/lib/active_support/deprecation/constant_accessor.rb +++ b/activesupport/lib/active_support/deprecation/constant_accessor.rb @@ -15,7 +15,7 @@ module ActiveSupport # # PLANETS = %w(mercury venus earth mars jupiter saturn uranus neptune pluto) # - # (In a later update, the original implementation of `PLANETS` has been removed.) + # # (In a later update, the original implementation of `PLANETS` has been removed.) # # PLANETS_POST_2006 = %w(mercury venus earth mars jupiter saturn uranus neptune) # include ActiveSupport::Deprecation::DeprecatedConstantAccessor diff --git a/activesupport/lib/active_support/deprecation/proxy_wrappers.rb b/activesupport/lib/active_support/deprecation/proxy_wrappers.rb index 782ad2519c..896c0d2d8e 100644 --- a/activesupport/lib/active_support/deprecation/proxy_wrappers.rb +++ b/activesupport/lib/active_support/deprecation/proxy_wrappers.rb @@ -113,7 +113,7 @@ module ActiveSupport # # PLANETS = %w(mercury venus earth mars jupiter saturn uranus neptune pluto) # - # (In a later update, the original implementation of `PLANETS` has been removed.) + # # (In a later update, the original implementation of `PLANETS` has been removed.) # # PLANETS_POST_2006 = %w(mercury venus earth mars jupiter saturn uranus neptune) # PLANETS = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('PLANETS', 'PLANETS_POST_2006') |