method
set_block_back_references
rails latest stable - Class:
ActiveSupport::SafeBuffer
set_block_back_references(block, match_data)private
No documentation available.
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 212
def set_block_back_references(block, match_data)
block.binding.eval("proc { |m| $~ = m }").call(match_data)
rescue ArgumentError
# Can't create binding from C level Proc
end