redefining a methods is not an error
and happens in tests
This commit is contained in:
parent
a554762da8
commit
ae7350bd57
@ -43,7 +43,7 @@ module Parfait
|
||||
found = get_instance_method( method.name )
|
||||
if found
|
||||
@instance_methods.delete(found)
|
||||
raise "existed in #{self.name} #{Sof.write found.source.blocks}"
|
||||
#raise "existed in #{self.name} #{Sof.write found.source.blocks}"
|
||||
end
|
||||
@instance_methods.push method
|
||||
#puts "#{self.name} add #{method.name}"
|
||||
|
Loading…
Reference in New Issue
Block a user