Sha256: 8a8e298061fb36841244f685c58608a5519998f196b1271547b888eadd02faa3
Contents?: true
Size: 630 Bytes
Versions: 27
Compression:
Stored size: 630 Bytes
Contents
module Sass::Source class Position # The one-based line of the document associated with the position. # # @return [Fixnum] attr_accessor :line # The one-based offset in the line of the document associated with the # position. # # @return [Fixnum] attr_accessor :offset # @param line [Fixnum] The source line # @param offset [Fixnum] The source offset def initialize(line, offset) @line = line @offset = offset end # @return [String] A string representation of the source position. def inspect "#{line.inspect}:#{offset.inspect}" end end end
Version data entries
27 entries across 27 versions & 1 rubygems