Libraries
»
dm-types
(1.2.2)
»
Index
»
DataMapper
»
Property
»
Regexp
»
#dump
Method: DataMapper::Property::Regexp#dump
Defined in:
lib/dm-types/regexp.rb
#
dump
(value) ⇒
Object
11 12 13
# File 'lib/dm-types/regexp.rb', line 11
def
dump
(
value
)
value
.
source
unless
value
.
nil?
end