Psych::ClassLoader
# File psych/lib/psych/class_loader.rb, line 75 def initialize classes, symbols @classes = classes @symbols = symbols super() end
# File 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
This page was generated for Ruby 2.7.1
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.