Sha256: a6dd3542824e0923316248037bc99c2709527ff746c5807c7f2e9a45ca3dac4b
Contents?: true
Size: 468 Bytes
Versions: 14
Compression:
Stored size: 468 Bytes
Contents
require 'haml' require 'awestruct/front_matter_file' require 'awestruct/hamlable' module Awestruct class HamlFile < FrontMatterFile include Hamlable def initialize(site, source_path, relative_source_path, options = {}) super(site, source_path, relative_source_path, options) end def output_filename File.basename( self.source_path, '.haml' ) end def output_extension File.extname( output_filename ) end end end
Version data entries
14 entries across 14 versions & 1 rubygems