class ActionView::Template::Handlers::ERB::Erubi

def add_expression(indicator, code)

Experimental RBS support (using type sampling data from the type_fusion project).

def add_expression: (String indicator, String code) -> String

This signature was generated using 18 samples from 1 application.

def add_expression(indicator, code)
  flush_newline_if_pending(src)
  if (indicator == "==") || @escape
    src << bufvar << ".safe_expr_append="
  else
    src << bufvar << ".append="
  end
  if BLOCK_EXPR.match?(code)
    src << " " << code
  else
    src << "(" << code << ");"
  end
end