method

add_expr_escaped

Importance_0
v3.0.9 - 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 57
        def add_expr_escaped(src, code)
          if code =~ BLOCK_EXPR
            src << "@output_buffer.safe_append= " << code
          else
            src << "@output_buffer.safe_concat((" << code << ").to_s);"
          end
        end
Register or log in to add new notes.