class Psych::ClassLoader::Restricted

def find klassname

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

def find: (String klassname) -> Class

This signature was generated using 161 samples from 2 applications.

def find klassname
  if @classes.include? klassname
    super
  else
    raise DisallowedClass.new('load', klassname)
  end
end