Module: Contracts::MethodDecorators::EigenclassWithOwner

Defined in:
lib/contracts/decorators.rb

Class Method Summary collapse

Class Method Details

.lift(eigenclass) ⇒ Object



12
13
14
15
16
# File 'lib/contracts/decorators.rb', line 12

def self.lift(eigenclass)
  fail Contracts::ContractsNotIncluded unless with_owner?(eigenclass)

  eigenclass
end