Class: ActiveRecord::Schema

Inherits:
Object
  • Object
show all
Defined in:
lib/unschema/fake_schema.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.intermediatorObject

Returns the value of attribute intermediator.



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

def intermediator
  @intermediator
end

Class Method Details

.define(options = {}, &block) ⇒ Object



12
13
14
15
# File 'lib/unschema/fake_schema.rb', line 12

def self.define(options={}, &block)
  self.intermediator ||= Unschema::SchemaIntermediator.new
  self.intermediator.process(options, &block)
end