7 8 9 10 11
# File 'opal/stdlib/nodejs/yaml.rb', line 7 def self.load_path path loaded = `__yaml__.safeLoad(#{File}.__fs__.readFileSync(#{path}, 'utf8'))` loaded = Hash.new(loaded) if native?(loaded) loaded end