End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
PrettyPrint::SingleLine#first?
first?
lib/prettyprint.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/prettyprint.rb, line 550
def first?
result = @first[-1]
@first[-1] = false
result
end
This is used as a predicate, and ought to be called first.