Class: BetterHtml::BetterErb

Inherits:
Object
  • Object
show all
Defined in:
lib/better_html/better_erb.rb,
lib/better_html/better_erb/runtime_checks.rb,
lib/better_html/better_erb/erubi_implementation.rb,
lib/better_html/better_erb/validated_output_buffer.rb

Defined Under Namespace

Modules: ConditionalImplementation, RuntimeChecks Classes: ErubiImplementation, ValidatedOutputBuffer

Class Method Summary collapse

Class Method Details

.prepend!Object



18
19
20
# File 'lib/better_html/better_erb.rb', line 18

def prepend!
  ActionView::Template::Handlers::ERB.prepend(ConditionalImplementation)
end