method

symbolize

Importance_0
v2_1_10 - Show latest stable - 0 notes - Class: Restricted
symbolize(sym) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/psych/lib/psych/class_loader.rb, line 80
      def symbolize sym
        return super if @symbols.empty?

        if @symbols.include? sym
          super
        else
          raise DisallowedClass, 'Symbol'
        end
      end
Register or log in to add new notes.