Psych::ClassLoader
# File ruby-3.1.2/ext/psych/lib/psych/class_loader.rb, line 77 def initialize classes, symbols @classes = classes @symbols = symbols super() end
# File ruby-3.1.2/ext/psych/lib/psych/class_loader.rb, line 83 def symbolize sym return super if @symbols.empty? if @symbols.include? sym super else raise DisallowedClass.new('load', 'Symbol') end end
# File ruby-3.1.2/ext/psych/lib/psych/class_loader.rb, line 95 def find klassname if @classes.include? klassname super else raise DisallowedClass.new('load', klassname) end end
This page was generated for Ruby 3.1.2
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.42.0.