module Psych

def self.load_file filename, **kwargs

Experimental RBS support (using type sampling data from the type_fusion project).

def self.load_file: (String filename, **Hash kwargs) -> Gem::Specification

This signature was generated using 3 samples from 1 application.

See load for options.
the specified +fallback+ return value, which defaults to +false+.
+filename+ as a Ruby object, or if the file is empty, it returns
Loads the document contained in +filename+. Returns the yaml contained in
##
def self.load_file filename, **kwargs
  File.open(filename, 'r:bom|utf-8') { |f|
    self.load f, filename: filename, **kwargs
  }
end