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

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

Instance Method Summary collapse

Instance Method Details

#import_for(full_path, parent_dir, options) ⇒ Object



25
26
27
28
# File 'lib/sassc/rails/importer.rb', line 25

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

#postfixObject



21
22
23
# File 'lib/sassc/rails/importer.rb', line 21

def postfix
  ".css"
end