Module: Conformist::Schema

Defined in:
lib/conformist/schema.rb

Defined Under Namespace

Modules: ClassExtensions, InstanceExtensions, Methods

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



8
9
10
11
# File 'lib/conformist/schema.rb', line 8

def self.extended base
  base.extend ClassExtensions
  base.extend Methods
end

.included(base) ⇒ Object



3
4
5
6
# File 'lib/conformist/schema.rb', line 3

def self.included base
  base.send :include, InstanceExtensions
  base.send :include, Methods
end