Sha256: 24e3e5069856f5b684c0fb72b284873bd6da6ac4cd384512135533190677940f

Contents?: true

Size: 429 Bytes

Versions: 6

Compression:

Stored size: 429 Bytes

Contents

require 'awestruct/front_matter_file'
require 'awestruct/marukuable'

module Awestruct
  class MarukuFile < FrontMatterFile

    include Marukuable

    def initialize(site, source_path, relative_source_path)
      super(site, source_path, relative_source_path)
    end

    def output_filename
      File.basename( self.source_path, '.md' ) + output_extension
    end

    def output_extension
      '.html'
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
awestruct-0.0.6 lib/awestruct/maruku_file.rb
awestruct-0.0.5 lib/awestruct/maruku_file.rb
awestruct-0.0.4 lib/awestruct/maruku_file.rb
awestruct-0.0.3 lib/awestruct/maruku_file.rb
awestruct-0.0.2 lib/awestruct/maruku_file.rb
awestruct-0.0.1 lib/awestruct/maruku_file.rb