diff options
author | Shugo Maeda <shugo@ruby-lang.org> | 2018-11-08 23:47:10 +0900 |
---|---|---|
committer | Shugo Maeda <shugo@ruby-lang.org> | 2018-11-08 23:47:10 +0900 |
commit | cd40043357491f386a4e3dd095ed4ad6abb54f81 (patch) | |
tree | f4bf9c4952e3423e4ab95ed2801d098971c2369a /activesupport | |
parent | 94ac3f782027c4b707470b1aa0f5f66c6702ad9f (diff) | |
download | rails-cd40043357491f386a4e3dd095ed4ad6abb54f81.tar.gz rails-cd40043357491f386a4e3dd095ed4ad6abb54f81.tar.bz2 rails-cd40043357491f386a4e3dd095ed4ad6abb54f81.zip |
Remove trailing space
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/output_safety.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/output_safety.rb b/activesupport/lib/active_support/core_ext/string/output_safety.rb index c27d7bbc78..55579ec259 100644 --- a/activesupport/lib/active_support/core_ext/string/output_safety.rb +++ b/activesupport/lib/active_support/core_ext/string/output_safety.rb @@ -256,7 +256,7 @@ module ActiveSupport #:nodoc: class_eval <<-EOT, __FILE__, __LINE__ + 1 def #{unsafe_method}(*args, &block) # def gsub(*args, &block) if block # if block - to_str.#{unsafe_method}(*args) { |*params| # to_str.gsub(*args) { |*params| + to_str.#{unsafe_method}(*args) { |*params| # to_str.gsub(*args) { |*params| set_block_back_references(block, $~) # set_block_back_references(block, $~) block.call(*params) # block.call(*params) } # } |