Skip to content

Instantly share code, notes, and snippets.

View poloka's full-sized avatar

Greg Howdeshell poloka

  • Kansas City, MO
View GitHub Profile
@poloka
poloka / psych_load_issues.rb
Last active January 11, 2022 01:03
psych load/safe_load tests
require 'yaml'
require 'erb'
def file_path
file_path = File.join(Dir.pwd, 'test.yml')
end
def call_function(func, **options)
puts '*' * 100
puts "Testing 'YAML.#{func}' with options: #{options} using psych-#{Psych::VERSION} on #{RUBY_VERSION}"