Sha256: 8d191f9bdcad7d63df288908f8c414f22551d5a973cbe5bdaad1a03046047166
Contents?: true
Size: 319 Bytes
Versions: 24
Compression:
Stored size: 319 Bytes
Contents
# @Opulent module Opulent # @Parser class Parser # Match one line or multiline comments # def doctype(parent, indent) if (accept :doctype) buffer = accept(:line_feed) parent[@children] << [:doctype, buffer.strip.to_sym, {}, nil, indent] end end end end
Version data entries
24 entries across 24 versions & 1 rubygems
Version | Path |
---|---|
opulent-1.1.9 | lib/opulent/parser/doctype.rb |
opulent-1.1.7 | lib/opulent/parser/doctype.rb |
opulent-1.1.6 | lib/opulent/parser/doctype.rb |
opulent-1.1.5 | lib/opulent/parser/doctype.rb |