@param str [String] The string to move through. @return [Position] The source position after proceeding forward through
`str`.
# File lib/sass/source/position.rb, line 29 def after(str) newlines = str.count("\n") Position.new(line + newlines, if newlines == 0 offset + str.length else str.length - str.rindex("\n") - 1 end) end
Generated with the Darkfish Rdoc Generator 2.