instance method
append_if_string=
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20Signature
append_if_string=(value)
No documentation comment.
Parameters
-
valuereq
Source
# File actionpack/lib/action_view/template/handlers/erb.rb, line 19
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
Defined in actionpack/lib/action_view/template/handlers/erb.rb line 19
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::OutputBuffer