Flowdock
method

add_expr_escaped

Importance_0
v4.2.7 - 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 actionview/lib/action_view/template/handlers/erb.rb, line 49
        def add_expr_escaped(src, code)
          flush_newline_if_pending(src)
          if code =~ BLOCK_EXPR
            src << "@output_buffer.safe_expr_append= " << code
          else
            src << "@output_buffer.safe_expr_append=(" << code << ");"
          end
        end
Register or log in to add new notes.