Flowdock
method

[]

Importance_0
v3.2.3 - Show latest stable - 0 notes - Class: ActiveSupport::SafeBuffer
[](*args) public

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 101
    def [](*args)
      return super if args.size < 2

      if html_safe?
        new_safe_buffer = super
        new_safe_buffer.instance_eval { @html_safe = true }
        new_safe_buffer
      else
        to_str[*args]
      end
    end
Register or log in to add new notes.