Class: DataMapper::Types::Regexp
- Inherits:
-
DataMapper::Type
- Object
- DataMapper::Type
- DataMapper::Types::Regexp
- Defined in:
- lib/gems/dm-types-0.9.9/lib/dm-types/regexp.rb
Constant Summary
Constants inherited from DataMapper::Type
DataMapper::Type::PROPERTY_OPTIONS, DataMapper::Type::PROPERTY_OPTION_ALIASES
Class Method Summary collapse
Methods inherited from DataMapper::Type
bind, configure, inherited, options, primitive
Class Method Details
.dump(value, property) ⇒ Object
10 11 12 13 |
# File 'lib/gems/dm-types-0.9.9/lib/dm-types/regexp.rb', line 10 def self.dump(value, property) return nil if value.nil? value.source end |