| Class | ERB |
| In: |
vendor/rails/activesupport/lib/active_support/core_ext/string/output_safety.rb
|
| Parent: | Object |
# File vendor/rails/activesupport/lib/active_support/core_ext/string/output_safety.rb, line 5
5: def set_eoutvar(compiler, eoutvar = '_erbout')
6: compiler.put_cmd = "#{eoutvar}.safe_concat"
7: compiler.insert_cmd = "#{eoutvar}.safe_concat"
8:
9: cmd = []
10: cmd.push "#{eoutvar} = ActiveSupport::SafeBuffer.new"
11:
12: compiler.pre_cmd = cmd
13:
14: cmd = []
15: cmd.push(eoutvar)
16:
17: compiler.post_cmd = cmd
18: end