End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Psych::ScalarScanner.new
new(class_loader, strict_integer: false)
ext/psych/lib/psych/scalar_scanner.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/ext/psych/lib/psych/scalar_scanner.rb, line 30
def initialize class_loader, strict_integer: false
@symbol_cache = {}
@class_loader = class_loader
@strict_integer = strict_integer
end
Create a new scanner