Sha256: 1701c794cb93a6b3ecab56f2deef1a0811eb1d1931a851c7b89589a95edbd2cf
Contents?: true
Size: 385 Bytes
Versions: 11
Compression:
Stored size: 385 Bytes
Contents
module Furnace module Code class SeparatedToken < SurroundedToken def text_between "" end def to_text "#{text_before}#{children.map(&:to_text).join(text_between)}#{text_after}" end def to_structure(options={}) structurize "#{text_before} #{([text_between] * 3).join(" ")} #{text_after}", options end end end end
Version data entries
11 entries across 11 versions & 1 rubygems