struct

Scroll::SortKey::Field

Inherits Scroll::SortKey < Struct < Value < Object

An integer 1-based whitespace column.

Constructors

new(index : Int32)
Source

Instance methods

extract(line : String) : String

Extract the key substring from one line. Returns "" when the selector does not apply to the line (out-of-range column, or a non-matching regex); an empty key sorts first (ascending) / into the non-numeric bucket.

Source
index
Source