Method: Contracts::Modules.common
- Defined in:
- lib/contracts/modules.rb
.common(base) ⇒ Object
11 12 13 14 15 |
# File 'lib/contracts/modules.rb', line 11 def self.common(base) return unless base.instance_of?(Module) base.extend(MethodDecorators) Eigenclass.lift(base) end |