Class: Sass::Source::Map::Mapping
- Inherits:
- Struct
- Object
- Struct
- Sass::Source::Map::Mapping
- Defined in:
- /Users/ceppstei/Projects/sass-lang/.sass/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)
- - (Object) input
Returns the value of attribute input.
- - (Object) output
Returns the value of attribute output.
Instance Method Summary (collapse)
- - (String) inspect
A string representation of the mapping.
Instance Attribute Details
- (Object) input
Returns the value of attribute input
11 12 13 14 15 16 | # File '/Users/ceppstei/Projects/sass-lang/.sass/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 |
- (Object) output
Returns the value of attribute output
11 12 13 14 15 16 | # File '/Users/ceppstei/Projects/sass-lang/.sass/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
- (String) inspect
Returns A string representation of the mapping.
13 14 15 | # File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/source/map.rb', line 13
def inspect
"#{input.inspect} => #{output.inspect}"
end |