instance method
concat
Ruby on Rails 3.0.20
Since v3.0.20Signature
concat(value)
No documentation comment.
Parameters
-
valuereq
Source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 130
def concat(value)
if !html_safe? || value.html_safe?
super(value)
else
super(ERB::Util.h(value))
end
end
Defined in activesupport/lib/active_support/core_ext/string/output_safety.rb line 130
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::SafeBuffer