Sha256: 83ee9ca0c82099b6f80c7e34cf76853eb05c340bef5235858ac8b93fd29ed3f1
Contents?: true
Size: 348 Bytes
Versions: 18
Compression:
Stored size: 348 Bytes
Contents
module ExpressTemplates module Markup class Yielder def initialize(*args) @arg = args.first end def compile if @arg "yield(#{@arg.inspect})" # usually a symbol but may be string else "yield" end end def to_template compile end end end end
Version data entries
18 entries across 18 versions & 2 rubygems