Sha256: edbe1eafd07084aa1d72567e4a2d13955ed7db3f90b432ba9afd44e2db989fb9
Contents?: true
Size: 242 Bytes
Versions: 1
Compression:
Stored size: 242 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'treetop' require_relative 'node' # Variable interpolation in a template class Variable < Node def to_html(context) variable_name .content(context) .to_s end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
emerald-lang-1.0.0 | lib/emerald/nodes/variable.rb |