v3: fix Model#===

This commit is contained in:
Konstantin Haase 2015-04-22 16:24:26 +02:00
parent 7b5dc7b33d
commit 922f221b09

View File

@ -4,7 +4,7 @@ module Travis::API::V3
self.abstract_class = true
def self.===(other)
super or other.class.parent == Models
super or (self == Model and other.class.parent == Models)
end
end
end