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 17 18 |
# File 'lib/contracts/decorators.rb', line 12 def self.lift(eigenclass) unless with_owner?(eigenclass) raise Contracts::ContractsNotIncluded end eigenclass end |