method

add_expr_literal

Importance_0
v3.2.13 - 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 actionpack/lib/action_view/template/handlers/erb.rb, line 31
        def add_expr_literal(src, code)
          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.