method

append_if_string=

rails latest stable - Class: ActionView::OutputBuffer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

append_if_string=(value)
public

No documentation available.

# 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