Text
# File lib/dm-types/csv.rb, line 26 def dump(value) case value when ::Array CSV.generate { |csv| value.each { |row| csv << row } } when ::String then value end end
# File lib/dm-types/csv.rb, line 19 def load(value) case value when ::String then CSV.parse(value) when ::Array then value end end
# File lib/dm-types/csv.rb, line 15 def primitive?(value) super || value.kind_of?(::Array) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.