close #21
Mostly replaced Fixnum with integer also in the rx-file dependency all travis and testing with 2.4+
This commit is contained in:
@ -85,7 +85,7 @@ module Parfait
|
||||
# add a type, meaning the instance given must be a valid type
|
||||
def add_type( type )
|
||||
hash = type.hash
|
||||
raise "upps #{hash} #{hash.class}" unless hash.is_a?(Fixnum)
|
||||
raise "upps #{hash} #{hash.class}" unless hash.is_a?(::Integer)
|
||||
was = types[hash]
|
||||
return was if was
|
||||
types[hash] = type
|
||||
|
Reference in New Issue
Block a user