Class: SassC::Importer::Import
- Inherits:
-
Object
- Object
- SassC::Importer::Import
- Defined in:
- lib/sassc/importer.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#source ⇒ Object
Returns the value of attribute source.
-
#source_map_path ⇒ Object
Returns the value of attribute source_map_path.
Instance Method Summary collapse
-
#initialize(path, source: nil, source_map_path: nil) ⇒ Import
constructor
A new instance of Import.
- #to_s ⇒ Object
Constructor Details
#initialize(path, source: nil, source_map_path: nil) ⇒ Import
Returns a new instance of Import.
20 21 22 23 24 |
# File 'lib/sassc/importer.rb', line 20 def initialize(path, source: nil, source_map_path: nil) @path = path @source = source @source_map_path = source_map_path end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
18 19 20 |
# File 'lib/sassc/importer.rb', line 18 def path @path end |
#source ⇒ Object
Returns the value of attribute source.
18 19 20 |
# File 'lib/sassc/importer.rb', line 18 def source @source end |
#source_map_path ⇒ Object
Returns the value of attribute source_map_path.
18 19 20 |
# File 'lib/sassc/importer.rb', line 18 def source_map_path @source_map_path end |
Instance Method Details
#to_s ⇒ Object
26 27 28 |
# File 'lib/sassc/importer.rb', line 26 def to_s "Import: #{path} #{source} #{source_map_path}" end |