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

return array instead of string

this is only for Eruby.

Methods

Public Instance methods

[Source]

# File erubis/enhancer.rb, line 169
    def add_postamble(src)
      src << "\n" unless src[-1] == ?\n
      src << "_buf\n"
    end

[Source]

# File erubis/enhancer.rb, line 165
    def add_preamble(src)
      src << "_buf = [];"
    end

[Validate]