Sha256: 9773b52c70efcb0dfe1a8a519dbc1c15e9e6a412d950bc09cba9404fbe68305f
Contents?: true
Size: 458 Bytes
Versions: 22
Compression:
Stored size: 458 Bytes
Contents
# @Opulent module Opulent # @Compiler class Compiler # Generate the code for a while control structure # # @param node [Array] Node code generation data # @param indent [Fixnum] Size of the indentation to be added # def comment(node, indent) buffer_freeze "\n" if node[@options][:newline] buffer_freeze '<!-- ' buffer_split_by_interpolation node[@value].strip, false buffer_freeze ' -->' end end end
Version data entries
22 entries across 22 versions & 1 rubygems