diff --git a/lib/flatito/yaml_with_line_number.rb b/lib/flatito/yaml_with_line_number.rb index 3c53692..e70fbd3 100644 --- a/lib/flatito/yaml_with_line_number.rb +++ b/lib/flatito/yaml_with_line_number.rb @@ -56,9 +56,9 @@ def scalar(*args) end class VisitorsToRuby < Psych::Visitors::ToRuby - def self.create(symbolize_names: false, freeze: false, strict_integer: false) + def self.create(symbolize_names: false, freeze: false) class_loader = ClassLoader.new - scanner = Psych::ScalarScanner.new(class_loader, strict_integer: strict_integer) + scanner = Psych::ScalarScanner.new(class_loader) new(scanner, class_loader, symbolize_names: symbolize_names, freeze: freeze) end