# File lib/active_support/core_ext/string/output_safety.rb, line 112 def +(other) dup.concat(other) end
# File lib/active_support/core_ext/string/output_safety.rb, line 103 def concat(value) if dirty? || value.html_safe? super(value) else super(ERB::Util.h(value)) end end
# File lib/active_support/core_ext/string/output_safety.rb, line 116 def html_safe? !dirty? end
# File lib/active_support/core_ext/string/output_safety.rb, line 98 def initialize_copy(other) super @dirty = other.dirty? end
# File lib/active_support/core_ext/string/output_safety.rb, line 88 def safe_concat(value) raise SafeConcatError if dirty? original_concat(value) end
# File lib/active_support/core_ext/string/output_safety.rb, line 124 def to_param to_str end
Generated with the Darkfish Rdoc Generator 2.