Module: Ree::Contracts::Core

Included in:
Object
Defined in:
lib/ree/contracts/core.rb

Class Method Summary collapse

Class Method Details

.common(base) ⇒ Object



13
14
15
# File 'lib/ree/contracts/core.rb', line 13

def self.common(base)
  base.extend(Contractable)
end

.extended(base) ⇒ Object



9
10
11
# File 'lib/ree/contracts/core.rb', line 9

def self.extended(base)
  common(base)
end

.included(base) ⇒ Object



5
6
7
# File 'lib/ree/contracts/core.rb', line 5

def self.included(base)
  common(base)
end