last_column -> IntegerRuby 3.4 から[permalink][rdoc][edit]() → Integer-
ソースコード中で、この位置情報が指す範囲が終わる列番号を返します。
列番号は0-originで、バイト単位で表されます。
loc = RubyVM::AbstractSyntaxTree.parse('1 + 2').locations.first p loc.last_column # => 5
last_column -> IntegerRuby 3.4 から[permalink][rdoc][edit]() → Integerソースコード中で、この位置情報が指す範囲が終わる列番号を返します。
列番号は0-originで、バイト単位で表されます。
loc = RubyVM::AbstractSyntaxTree.parse('1 + 2').locations.first
p loc.last_column # => 5