aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2015-09-20 00:24:53 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2015-09-20 00:24:53 +0200
commit1e638c552075ead707f31dfddf793e414ee69354 (patch)
tree75a72380994253b6e88e77016e3b30a897447b0e
parent44e5ebf688f062bb38501c8de817e0d484999001 (diff)
parente9fbe9a0b4cc99fa7f6d76b0b883654a6bfa35b6 (diff)
downloadrails-1e638c552075ead707f31dfddf793e414ee69354.tar.gz
rails-1e638c552075ead707f31dfddf793e414ee69354.tar.bz2
rails-1e638c552075ead707f31dfddf793e414ee69354.zip
Merge pull request #21682 from vlado/obsolete_require_removed
String#strip_heredocs doesn't need Object#try anymore
-rw-r--r--activesupport/lib/active_support/core_ext/string/strip.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/strip.rb b/activesupport/lib/active_support/core_ext/string/strip.rb
index a523e76b69..55b9b87352 100644
--- a/activesupport/lib/active_support/core_ext/string/strip.rb
+++ b/activesupport/lib/active_support/core_ext/string/strip.rb
@@ -1,5 +1,3 @@
-require 'active_support/core_ext/object/try'
-
class String
# Strips indentation in heredocs.
#