Class: DataMapper::Types::List

Inherits:
Type
  • Object
show all
Defined in:
lib/dm-appengine/types.rb

Class Method Summary collapse

Class Method Details

._type=(type) ⇒ Object



36
37
38
# File 'lib/dm-appengine/types.rb', line 36

def self._type=(type)
  @type = type
end

.dump(value, property) ⇒ Object



28
29
30
# File 'lib/dm-appengine/types.rb', line 28

def self.dump(value, property)
  value
end

.load(value, property) ⇒ Object



32
33
34
# File 'lib/dm-appengine/types.rb', line 32

def self.load(value, property)
  value.to_a if value
end