Sha256: 4eca4c538c8476d6455246f0ada58e2a41c8491f84db8505fd5f7876cb565652

Contents?: true

Size: 377 Bytes

Versions: 6

Compression:

Stored size: 377 Bytes

Contents

require 'sass'
require 'awestruct/renderable_file'
require 'awestruct/sassable'

module Awestruct
  class SassFile < RenderableFile

    include Sassable

    def initialize(site, source_path, relative_source_path)
      super( site, source_path, relative_source_path )
    end
 
    def output_filename
      File.basename( source_path, '.sass' ) + '.css'
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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