Class Sass::Source::Position
In: lib/sass/source/position.rb
Parent: Object

Methods

after   inspect   new  

Attributes

line  [RW]  The one-based line of the document associated with the position.

@return [Integer]

offset  [RW]  The one-based offset in the line of the document associated with the position.

@return [Integer]

Public Class methods

@param line [Integer] The source line @param offset [Integer] The source offset

Public Instance methods

@param str [String] The string to move through. @return [Position] The source position after proceeding forward through

  `str`.

@return [String] A string representation of the source position.

[Validate]