method

set_block_back_references

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: ActiveSupport::SafeBuffer
set_block_back_references(block, match_data) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 299
      def set_block_back_references(block, match_data)
        block.binding.eval("proc { |m| $~ = m }").call(match_data)
      end
Register or log in to add new notes.