JRuby

YAML.load(YAML.dump(lambda{})) should raise TypeError