Sha256: 27c011ad5997e743cbc0d0502b2bdd689526436bb598ef02e9ede4bb8b82a4c5

Contents?: true

Size: 438 Bytes

Versions: 18

Compression:

Stored size: 438 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, options = {})
      super( site, source_path, relative_source_path, options )
    end
 
    def output_filename
      File.basename( source_path, '.sass' ) + '.css'
    end
  
    def syntax
      :sass
    end

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
awestruct-0.2.18 lib/awestruct/sass_file.rb
awestruct-0.2.17 lib/awestruct/sass_file.rb
awestruct-0.2.15 lib/awestruct/sass_file.rb
awestruct-0.2.14 lib/awestruct/sass_file.rb
awestruct-0.2.13 lib/awestruct/sass_file.rb
awestruct-0.2.12 lib/awestruct/sass_file.rb
awestruct-0.2.11 lib/awestruct/sass_file.rb
awestruct-0.2.10 lib/awestruct/sass_file.rb
awestruct-0.2.9 lib/awestruct/sass_file.rb
awestruct-0.2.8 lib/awestruct/sass_file.rb
awestruct-0.2.7 lib/awestruct/sass_file.rb
awestruct-0.2.6 lib/awestruct/sass_file.rb
awestruct-0.2.5 lib/awestruct/sass_file.rb
awestruct-0.2.4 lib/awestruct/sass_file.rb
awestruct-0.2.3 lib/awestruct/sass_file.rb
awestruct-0.2.2 lib/awestruct/sass_file.rb
awestruct-0.2.1 lib/awestruct/sass_file.rb
awestruct-0.2.0 lib/awestruct/sass_file.rb