Raises:
5 6 7
# File 'lib/yaml/rubytypes.rb', line 5 def to_yaml( opts = {} ) raise TypeError, "can't dump anonymous class %s" % self.class end