Change Contract neutering declaration to have consistent superclass
This commit is contained in:
Родитель
c823d71fb4
Коммит
f909ca7019
|
@ -12,7 +12,7 @@ end
|
|||
|
||||
# We don't need Contract outside of normal development
|
||||
VALID = [true, nil]
|
||||
class Contract
|
||||
class Contract < Contracts::Decorator
|
||||
def self.valid?(arg, contract)
|
||||
VALID
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче