Sha256: 1ba28750f13e2e321af1e41dc8e9aba68a0cd8f1299b3d6bfb8040906bb8e59a
Contents?: true
Size: 504 Bytes
Versions: 60
Compression:
Stored size: 504 Bytes
Contents
require 'awestruct/handlers/base_handler' module Awestruct module Handlers class StringHandler < BaseHandler def initialize(site, content, output_extension='.html') super( site ) @content = content @output_extension = output_extension end def output_extension @output_extension end def raw_content @content end def rendered_content(context, with_layouts=true) raw_content end end end end
Version data entries
60 entries across 60 versions & 2 rubygems