class method
self.erb_trim_mode=
Ruby on Rails edge
Since edgeControls if certain ERB syntax should trim. It defaults to '-', which turns on trimming of trailing spaces and newline when using <%= -%> or <%= =%>. Setting this to anything else will turn off trimming support.
Source
# File actionview/lib/action_view/base.rb, line 201
Defined in actionview/lib/action_view/base.rb line 201
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Base