Newer
Older
2018-fumichan-thesis / practice / vendor / bundle / ruby / 2.5.0 / gems / tilt-2.0.8 / lib / tilt / plain.rb
require 'tilt/template'


module Tilt
  # Raw text (no template functionality).
  class PlainTemplate < Template
    self.default_mime_type = 'text/html'

    def prepare
    end

    def evaluate(scope, locals, &block)
      @output ||= data
    end
  end
end