Class: Attributor::CSV

Inherits:
Collection show all
Defined in:
lib/attributor/types/csv.rb

Direct Known Subclasses

Ids

Class Method Summary collapse

Methods inherited from Collection

check_option!, construct, describe, dump, example, load, member_attribute, member_type, native_type, of, validate, validate_options

Methods included from Container

included

Class Method Details

.decode_string(value, context) ⇒ Object



5
6
7
# File 'lib/attributor/types/csv.rb', line 5

def self.decode_string(value,context)
  value.split(',')
end