Sha256: 44c6277d81a775e5f8fa0c146aac68dc7c61dbcef00b54f3b771f912ef730fc4
Contents?: true
Size: 445 Bytes
Versions: 18
Compression:
Stored size: 445 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) super(site, source_path, relative_source_path) end def output_filename File.basename( self.source_path, '.haml' ) end def output_extension File.extname( output_filename ) end end end
Version data entries
18 entries across 18 versions & 1 rubygems