class Temple::Generators::Array
Implements an array buffer.
_buf = [] _buf << "static" _buf << dynamic _buf
@api public
Public Instance Methods
postamble()
click to toggle source
# File lib/temple/generators/array.rb, line 16 def postamble buffer end
preamble()
click to toggle source
# File lib/temple/generators/array.rb, line 12 def preamble "#{buffer} = []" end