Class: Sass::Source::Map::Mapping
- Inherits:
-
Struct
- Object
- Struct
- Sass::Source::Map::Mapping
- Defined in:
- lib/sass/source/map.rb
Overview
A mapping from one source range to another. Indicates that input
was
compiled to output
.
Instance Attribute Summary collapse
-
#input ⇒ Sass::Source::Range
The source range in the input document.
-
#output ⇒ Sass::Source::Range
The source range in the output document.
Instance Method Summary collapse
-
#inspect ⇒ String
A string representation of the mapping.
Instance Attribute Details
#input ⇒ Sass::Source::Range
Returns The source range in the input document.
11 12 13 14 15 16 |
# File 'lib/sass/source/map.rb', line 11
class Mapping < Struct.new(:input, :output)
# @return [String] A string representation of the mapping.
def inspect
"#{input.inspect} => #{output.inspect}"
end
end
|
#output ⇒ Sass::Source::Range
Returns The source range in the output document.
11 12 13 14 15 16 |
# File 'lib/sass/source/map.rb', line 11
class Mapping < Struct.new(:input, :output)
# @return [String] A string representation of the mapping.
def inspect
"#{input.inspect} => #{output.inspect}"
end
end
|
Instance Method Details
#inspect ⇒ String
Returns A string representation of the mapping.
13 14 15 |
# File 'lib/sass/source/map.rb', line 13
def inspect
"#{input.inspect} => #{output.inspect}"
end
|