Class: SassC::Rails::Importer::Extension
- Inherits:
-
Object
- Object
- SassC::Rails::Importer::Extension
- Defined in:
- lib/sassc/rails/importer.rb
Direct Known Subclasses
CssSassExtension, CssScssExtension, ERBExtension, SassERBExtension
Instance Attribute Summary collapse
-
#postfix ⇒ Object
readonly
Returns the value of attribute postfix.
Instance Method Summary collapse
- #import_for(full_path, parent_dir, options) ⇒ Object
-
#initialize(postfix = nil) ⇒ Extension
constructor
A new instance of Extension.
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
#postfix ⇒ Object (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, ) SassC::Importer::Import.new(full_path) end |