class Psych::ClassLoader::Restricted

def symbolize sym

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

def symbolize: (String sym) -> Symbol

This signature was generated using 5 samples from 1 application.

def symbolize sym
  return super if @symbols.empty?
  if @symbols.include? sym
    super
  else
    raise DisallowedClass.new('load', 'Symbol')
  end
end