error message
This commit is contained in:
parent
a2ece04b6d
commit
47c0f62212
@ -60,7 +60,7 @@ module Parfait
|
|||||||
|
|
||||||
def add_type(type)
|
def add_type(type)
|
||||||
hash = type.hash
|
hash = type.hash
|
||||||
raise "upps #{hash}" unless hash.is_a?(Fixnum)
|
raise "upps #{hash} #{hash.class}" unless hash.is_a?(Fixnum)
|
||||||
was = @types[hash]
|
was = @types[hash]
|
||||||
return was if was
|
return was if was
|
||||||
@types[hash] = type
|
@types[hash] = type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user