Class: DummyERB

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

Overview

These classes are used to strip out the ERB configuration values so we can evaluate the database.yml without evaluating the ERB values.

Instance Method Summary collapse

Instance Method Details

#make_compiler(trim_mode) ⇒ Object

:nodoc:



7
8
9
# File 'railties/lib/rails/application/dummy_erb_compiler.rb', line 7

def make_compiler(trim_mode)
  DummyCompiler.new trim_mode
end