String
# File lib/dm-types/file_path.rb, line 22 def dump(value) value.to_s unless DataMapper::Ext.blank?(value) end
# File lib/dm-types/file_path.rb, line 18 def load(value) Pathname.new(value) unless DataMapper::Ext.blank?(value) end
# File lib/dm-types/file_path.rb, line 10 def primitive?(value) value.kind_of?(Pathname) end
Generated with the Darkfish Rdoc Generator 2.