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.



11
12
13
# File 'lib/sassc/rails/importer.rb', line 11

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

Instance Attribute Details

#postfixObject (readonly)

Returns the value of attribute postfix.



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

def postfix
  @postfix
end

Instance Method Details

#import_for(full_path, parent_dir, options) ⇒ Object



15
16
17
# File 'lib/sassc/rails/importer.rb', line 15

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