Module: Conformist::Schema::InstanceExtensions
- Defined in:
- lib/conformist/schema.rb
Instance Method Summary collapse
Instance Method Details
#initialize(super_schema = nil, &block) ⇒ Object
21 22 23 24 25 26 27 28 29 |
# File 'lib/conformist/schema.rb', line 21 def initialize super_schema = nil, &block if super_schema self.builder = super_schema.builder.dup self.columns = super_schema.columns.dup end if block instance_eval &block end end |