Module Erubis::StringBufferEnhancer
In: erubis/enhancer.rb

use String class for buffering

this is only for Eruby.

Methods

Public Instance methods

[Source]

# File erubis/enhancer.rb, line 214
    def add_postamble(src)
      src << "\n" unless src[-1] == ?\n
      src << "#{@bufvar}.to_s\n"
    end

[Source]

# File erubis/enhancer.rb, line 210
    def add_preamble(src)
      src << "#{@bufvar} = '';"
    end

[Validate]