Class: Class

Inherits:
Object show all
Defined in:
lib/rbyaml/rubytypes.rb

Instance Method Summary collapse

Instance Method Details

#to_yaml(opts = {}) ⇒ Object

Raises:



4
5
6
# File 'lib/rbyaml/rubytypes.rb', line 4

def to_yaml( opts = {} )
  raise RbYAML::TypeError, "can't dump anonymous class %s" % self.class
end