Class: Sass::Source::Map::Mapping

Inherits:
Struct
  • Object
show all
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

Instance Method Summary collapse

Instance Attribute Details

#inputObject

Returns the value of attribute input


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

#outputObject

Returns the value of attribute output


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

#inspectString


13
14
15
# File 'lib/sass/source/map.rb', line 13

def inspect
  "#{input.inspect} => #{output.inspect}"
end