Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Psych::TreeBuilder#set_start_location
set_start_location(node)
ext/psych/lib/psych/tree_builder.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/ext/psych/lib/psych/tree_builder.rb, line 127
def set_start_location(node)
node.start_line = @start_line
node.start_column = @start_column
end
No documentation available
See also
#set_location
#start_document
#set_end_location
#start_stream
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0