# File lib/dm-types/flag.rb, line 42 def typecast(value) case value when nil then nil when ::Array then value.map {|v| v.to_sym} else [value.to_sym] end end