Instantly share code, notes, and snippets.

What would you like to do?
Ruby 1.8 Proc equality bug
a = lambda {}
b = a.dup
m =
a.extend m
b.extend m
puts a == b # true for 1.9, false for 1.8 :(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment