module Erubis::ArrayEnhancer

def self.desc # :nodoc:

:nodoc:
def self.desc   # :nodoc:
  "return array instead of string"
end

def add_postamble(src)

def add_postamble(src)
  src << "\n" unless src[-1] == ?\n
  src << "#{@bufvar}\n"
end

def add_preamble(src)

def add_preamble(src)
  src << "#{@bufvar} = [];"
end