Module: Conformist

Defined in:
lib/conformist.rb,
lib/conformist/column.rb,
lib/conformist/schema.rb,
lib/conformist/builder.rb,
lib/conformist/version.rb,
lib/conformist/hash_struct.rb

Defined Under Namespace

Modules: Schema Classes: Builder, Column, HashStruct

Constant Summary collapse

VERSION =
'0.2.5'

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



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

def self.extended base
  base.extend Schema
end

.new(*args, &block) ⇒ Object



13
14
15
# File 'lib/conformist.rb', line 13

def self.new *args, &block
  Class.new { include Schema }.new *args, &block
end