blob: b203bf6ae44a011bddf9c2720d9242fec31fca63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
class TrueClass
def hash
raise "TrueClass#hash should not be called"
end
end
class FalseClass
def hash
raise "FalseClass#hash should not be called"
end
end
class Integer
def hash
raise "Integer#hash should not be called"
end
end
class Float
def hash
raise "Float#hash should not be called"
end
end
class String
def hash
raise "String#hash should not be called"
end
end
class Symbol
def hash
raise "Symbol#hash should not be called"
end
end
|