aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorVlado Cingel <vladocingel@gmail.com>2015-09-19 23:50:10 +0200
committerVlado Cingel <vladocingel@gmail.com>2015-09-19 23:50:10 +0200
commite9fbe9a0b4cc99fa7f6d76b0b883654a6bfa35b6 (patch)
tree75a72380994253b6e88e77016e3b30a897447b0e /activesupport
parent44e5ebf688f062bb38501c8de817e0d484999001 (diff)
downloadrails-e9fbe9a0b4cc99fa7f6d76b0b883654a6bfa35b6.tar.gz
rails-e9fbe9a0b4cc99fa7f6d76b0b883654a6bfa35b6.tar.bz2
rails-e9fbe9a0b4cc99fa7f6d76b0b883654a6bfa35b6.zip
String#strip_heredocs doesn't need Object#try
Call to Object#try was removed with this pull request https://github.com/rails/rails/pull/21596
Diffstat (limited to 'activesupport')
-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.
#