# File lib/safe_yaml/libyaml_checker.rb, line 23 def self.libyaml_version_ok? return true if YAML_ENGINE != "psych" || defined?(JRUBY_VERSION) return true if Gem::Version.new(LIBYAML_VERSION || "0") >= SAFE_LIBYAML_VERSION return libyaml_patched? end