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.binread(full_path)
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
|