# File lib/dm-core/type.rb, line 104 def configure(primitive_type, options) warn "DataMapper.Type.configure is deprecated, specify the primitive and options explicitly (#{caller[0]})" @_primitive_type = primitive_type @_options = options def self.inherited(base) base.primitive @_primitive_type @_options.each { |key, value| base.send(key, value) } end self end