Module: StoreSchema::Module::ClassMethods
- Defined in:
- lib/store_schema/module.rb
Instance Method Summary collapse
Instance Method Details
#store_schema(column, &block) ⇒ Object
31 32 33 34 35 36 |
# File 'lib/store_schema/module.rb', line 31 def store_schema(column, &block) StoreSchema::Configuration.new(column).tap do |config| yield(config) config.send(:configure, self) end end |