Class: DataMapper::Serialize::Support

Inherits:
Object
  • Object
show all
Defined in:
lib/dm-serializer/common.rb

Class Method Summary collapse

Class Method Details

.dm_validations_loaded?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/dm-serializer/common.rb', line 23

def self.dm_validations_loaded?
  DataMapper.const_defined?("Validate")
end