method

add_expr_escaped

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActionView::Template::Handlers::Erubis
add_expr_escaped(src, code) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/template/handlers/erb.rb, line 50
        def add_expr_escaped(src, code)
          flush_newline_if_pending(src)
          if code =~ BLOCK_EXPR
            src << "@output_buffer.safe_append= " << code
          else
            src << "@output_buffer.safe_append=(" << code << ");"
          end
        end
Register or log in to add new notes.