Flowdock
method

add_expr_literal

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ActionView::Template::Handlers::Erubis
add_expr_literal(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 40
        def add_expr_literal(src, code)
          flush_newline_if_pending(src)
          if code =~ BLOCK_EXPR
            src << '@output_buffer.append= ' << code
          else
            src << '@output_buffer.append=(' << code << ');'
          end
        end
Register or log in to add new notes.