Sha256: f895678352dacca441cd163e30e7f1b7071384950c0651d1af65fdb5cb2d382d

Contents?: true

Size: 436 Bytes

Versions: 18

Compression:

Stored size: 436 Bytes

Contents

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

module Awestruct
  class ScssFile < 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, '.scss' ) + '.css'
    end

    def syntax
      :scss
    end

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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