Sha256: 0886561f76ceb0010dfa9c2a351962fb263a59c46097c1ea5a15381f1775cf67
Contents?: true
Size: 300 Bytes
Versions: 27
Compression:
Stored size: 300 Bytes
Contents
# @Opulent module Opulent # @Parser class Parser # Match one line or multiline comments # def doctype(parent, indent) return unless accept :doctype buffer = accept(:line_feed) parent[@children] << [:doctype, buffer.strip.to_sym, {}, nil, indent] end end end
Version data entries
27 entries across 27 versions & 1 rubygems