Class: SassC::Rails::Importer::Extension

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(postfix = nil) ⇒ Extension

Returns a new instance of Extension.



9
10
11
# File 'lib/sassc/rails/importer.rb', line 9

def initialize(postfix=nil)
  @postfix = postfix
end

Instance Attribute Details

#postfixObject (readonly)

Returns the value of attribute postfix.



7
8
9
# File 'lib/sassc/rails/importer.rb', line 7

def postfix
  @postfix
end

Instance Method Details

#import_for(original_path, parent_path, full_path, options) ⇒ Object



13
14
15
# File 'lib/sassc/rails/importer.rb', line 13

def import_for(original_path, parent_path, full_path, options)
  SassC::Importer::Import.new(full_path)
end