Sha256: 7ccd57509eb0e1965258de5e20d92b309369fe08cc9dc9337ffe9c5833a1bf44
Contents?: true
Size: 326 Bytes
Versions: 21
Compression:
Stored size: 326 Bytes
Contents
module MagLove module Tilt class YamlTemplate < ::Tilt::Template self.default_mime_type = 'application/json' def prepare end def evaluate(scope, locals, &block) @output ||= YAML.load(data).to_json end def allows_script? false end end end end
Version data entries
21 entries across 21 versions & 1 rubygems