Sha256: ea08018ae382a64cf476d309fa879b92327aae5fafc2633ddeee890714261069
Contents?: true
Size: 526 Bytes
Versions: 13
Compression:
Stored size: 526 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 # @param context [Context] Processing environment data # def comment(node, indent, context) 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
13 entries across 13 versions & 1 rubygems