Class: SassC::Rails::Importer::CSSExtension

Inherits:
Object
  • Object
show all
Defined in:
lib/sassc/importer.rb

Instance Method Summary collapse

Instance Method Details

#import_for(full_path, parent_dir, options) ⇒ Object



23
24
25
26
# File 'lib/sassc/importer.rb', line 23

def import_for(full_path, parent_dir, options)
  import_path = full_path.gsub(/\.css$/,"")
  SassC::Importer::Import.new(import_path)
end

#postfixObject



19
20
21
# File 'lib/sassc/importer.rb', line 19

def postfix
  ".css"
end