Class: SassC::Rails::Importer::CssScssExtension
Instance Method Summary
collapse
Methods inherited from Extension
#initialize
Instance Method Details
#import_for(full_path, parent_dir, options) ⇒ Object
36
37
38
39
|
# File 'lib/sassc/rails/importer.rb', line 36
def import_for(full_path, parent_dir, options)
source = File.open(full_path, 'rb') { |f| f.read }
SassC::Importer::Import.new(full_path, source: source)
end
|
#postfix ⇒ Object
32
33
34
|
# File 'lib/sassc/rails/importer.rb', line 32
def postfix
".css.scss"
end
|