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