Methods
N
S
Class Public methods
new(classes, symbols)
# File ext/psych/lib/psych/class_loader.rb, line 75
def initialize classes, symbols
  @classes = classes
  @symbols = symbols
  super()
end
Instance Public methods
symbolize(sym)
# File ext/psych/lib/psych/class_loader.rb, line 81
def symbolize sym
  return super if @symbols.empty?

  if @symbols.include? sym
    super
  else
    raise DisallowedClass, 'Symbol'
  end
end