Sha256: ee501226c2e479541803d6ddaf29f9abd54703fc4630f13387e761e4e2dfbe05
Contents?: true
Size: 441 Bytes
Versions: 13
Compression:
Stored size: 441 Bytes
Contents
require 'haml' require 'awestruct/front_matter_file' require 'awestruct/erbable' module Awestruct class ErbFile < FrontMatterFile include Erbable def initialize(site, source_path, relative_source_path) super(site, source_path, relative_source_path) end def output_filename File.basename( self.source_path, '.erb' ) end def output_extension File.extname( output_filename ) end end end
Version data entries
13 entries across 13 versions & 1 rubygems