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

Version Path
awestruct-0.1.9 lib/awestruct/haml_file.rb
awestruct-0.1.8 lib/awestruct/haml_file.rb
awestruct-0.1.7 lib/awestruct/haml_file.rb
awestruct-0.1.6 lib/awestruct/haml_file.rb
awestruct-0.1.5 lib/awestruct/haml_file.rb
awestruct-0.1.4 lib/awestruct/haml_file.rb
awestruct-0.1.3 lib/awestruct/haml_file.rb
awestruct-0.1.2 lib/awestruct/haml_file.rb
awestruct-0.1.1 lib/awestruct/haml_file.rb
awestruct-0.1.0 lib/awestruct/haml_file.rb
awestruct-0.0.9 lib/awestruct/haml_file.rb
awestruct-0.0.8 lib/awestruct/haml_file.rb
awestruct-0.0.6 lib/awestruct/haml_file.rb
awestruct-0.0.5 lib/awestruct/haml_file.rb
awestruct-0.0.4 lib/awestruct/haml_file.rb
awestruct-0.0.3 lib/awestruct/haml_file.rb
awestruct-0.0.2 lib/awestruct/haml_file.rb
awestruct-0.0.1 lib/awestruct/haml_file.rb