Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
RubyVM::AbstractSyntaxTree::Node#first_lineno
() -> ::Integer
node.first_lineno → integer
ast.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/ast.rb, line 140
def first_lineno
Primitive.ast_node_first_lineno
end
The line number in the source code where this AST’s text began.