class JsonRefs::Loader::Yaml
Public Instance Methods
Source
# File lib/json_refs/loader.rb, line 14 def call(file) RUBY_VERSION >= '3.1.0' ? YAML.unsafe_load(file) : YAML.load(file) end
# File lib/json_refs/loader.rb, line 14 def call(file) RUBY_VERSION >= '3.1.0' ? YAML.unsafe_load(file) : YAML.load(file) end