Class: DummyCompiler

Inherits:
ERB::Compiler
  • Object
show all
Defined in:
railties/lib/rails/application/dummy_erb_compiler.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#compile_content(stag, out) ⇒ Object



13
14
15
16
17
# File 'railties/lib/rails/application/dummy_erb_compiler.rb', line 13

def compile_content(stag, out)
  if stag == "<%="
    out.push "_erbout << ''"
  end
end