aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-01-05 00:40:24 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-01-05 00:40:24 -0500
commit209bfc0a5c6416bcba8a90e87159234d72f3e561 (patch)
treee13b3c019335f85204ebb15ac5e779249f15b850 /activesupport/lib/active_support
parent46bb76acadc132de0344166db223be5f3fcd5426 (diff)
downloadrails-209bfc0a5c6416bcba8a90e87159234d72f3e561.tar.gz
rails-209bfc0a5c6416bcba8a90e87159234d72f3e561.tar.bz2
rails-209bfc0a5c6416bcba8a90e87159234d72f3e561.zip
Fix style guide violations
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/core_ext/object/duplicable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/duplicable.rb b/activesupport/lib/active_support/core_ext/object/duplicable.rb
index 9485e74816..ea81df2bd8 100644
--- a/activesupport/lib/active_support/core_ext/object/duplicable.rb
+++ b/activesupport/lib/active_support/core_ext/object/duplicable.rb
@@ -74,7 +74,7 @@ end
class Symbol
begin
:symbol.dup # Ruby 2.4.x.
- 'symbol_from_string'.to_sym.dup # Some symbols can't `dup` in Ruby 2.4.0.
+ "symbol_from_string".to_sym.dup # Some symbols can't `dup` in Ruby 2.4.0.
rescue TypeError
# Symbols are not duplicable: