Method: Contracts::MethodDecorators::EigenclassWithOwner.lift

Defined in:
lib/contracts/decorators.rb

.lift(eigenclass) ⇒ Object



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

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

  eigenclass
end