Psych::ClassLoader
# File psych/lib/psych/class_loader.rb, line 76 def initialize classes, symbols @classes = classes @symbols = symbols super() end
# File psych/lib/psych/class_loader.rb, line 82 def symbolize sym return super if @symbols.empty? if @symbols.include? sym super else raise DisallowedClass.new('load', 'Symbol') end end
This page was generated for Ruby 3.1.0.preview1
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.42.0.