diff options
| author | Jon Atack <jon@atack.com> | 2014-08-05 00:05:23 +0200 |
|---|---|---|
| committer | Jon Atack <jon@atack.com> | 2014-08-05 00:05:23 +0200 |
| commit | 7562c76587eac7149c037d3648c2fa5616f80ff3 (patch) | |
| tree | 062b7d80b65b53e657790c2bc42b055b7b6c38d8 | |
| parent | aa7d5372f7dfc589c4a2248ccb15e127dacf2a77 (diff) | |
| download | rails-7562c76587eac7149c037d3648c2fa5616f80ff3.tar.gz rails-7562c76587eac7149c037d3648c2fa5616f80ff3.tar.bz2 rails-7562c76587eac7149c037d3648c2fa5616f80ff3.zip | |
Update itself.rb [ci skip]
| -rw-r--r-- | activesupport/lib/active_support/core_ext/object/itself.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/itself.rb b/activesupport/lib/active_support/core_ext/object/itself.rb index 90cd6b1c57..3065e956c6 100644 --- a/activesupport/lib/active_support/core_ext/object/itself.rb +++ b/activesupport/lib/active_support/core_ext/object/itself.rb @@ -1,5 +1,5 @@ class Object - unless respond_to?(:itself) # TODO: Remove this file when we drop support to Ruby < 2.2 + unless respond_to?(:itself) # TODO: Remove this file when we drop support for Ruby < 2.2 # Returns the object itself. Useful when dealing with a chaining scenario, like Active Record scopes: # # Event.public_send(state.presence_in?([ :trashed, :drafted ]) || :itself).order(:created_at) |
