method
append_if_string=
v3.0.0 -
Show latest stable
- Class:
ActionView::OutputBuffer
append_if_string=(value)public
No documentation available.
# File actionpack/lib/action_view/template/handlers/erb.rb, line 18
def append_if_string=(value)
if value.is_a?(String) && !value.is_a?(NonConcattingString)
ActiveSupport::Deprecation.warn("<% %> style block helpers are deprecated. Please use <%= %>", caller)
self << value
end
end