# File lib/dm-core/type.rb, line 194 def self.Type(primitive_type, options = {}) warn "DataMapper.Type(#{primitive_type}) is deprecated, specify the primitive and options explicitly (#{caller[0]})" Class.new(Type).configure(primitive_type, options) end