Sha256: 2f8efebed223c6b6ddf775e9e4f3db5e6c07addc5315404d5d4f2e8b9d02345b
Contents?: true
Size: 243 Bytes
Versions: 1
Compression:
Stored size: 243 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'treetop' require_relative 'node' # Prints out the value of the comment's text class Comment < Node def to_html(context) "<!-- #{text_content.to_html(context)} -->\n" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
emerald-lang-1.0.0 | lib/emerald/nodes/comment.rb |