aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-08-11 00:10:11 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-08-11 00:16:42 -0300
commitb6e00c67647b523e21dd5c8886859d92c0d6c5fb (patch)
treea9aa42cd1ce1bd42a46835bd25fab0e4309d9fe1 /activesupport/lib/active_support
parenta6e0d8cfcf483a88c9feda8a28b187043f5fab05 (diff)
downloadrails-b6e00c67647b523e21dd5c8886859d92c0d6c5fb.tar.gz
rails-b6e00c67647b523e21dd5c8886859d92c0d6c5fb.tar.bz2
rails-b6e00c67647b523e21dd5c8886859d92c0d6c5fb.zip
Bring back changelog entries for Active Support
Removed in 0228a73b1094a3e19ad291d2ce4789890c09578a, pull request #7310.
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/core_ext/object/try.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/try.rb b/activesupport/lib/active_support/core_ext/object/try.rb
index 9974b61078..1079ddde98 100644
--- a/activesupport/lib/active_support/core_ext/object/try.rb
+++ b/activesupport/lib/active_support/core_ext/object/try.rb
@@ -37,7 +37,7 @@ class Object
public_send(*a, &b) if respond_to?(a.first)
end
end
-
+
# Same as #try, but will raise a NoMethodError exception if the receiving is not nil and
# does not implemented the tried method.
def try!(*a, &b)
@@ -63,7 +63,7 @@ class NilClass
def try(*args)
nil
end
-
+
def try!(*args)
nil
end