Class: Attributor::CSV
- Inherits:
-
Collection
- Object
- Collection
- Attributor::CSV
- Defined in:
- lib/attributor/types/csv.rb
Direct Known Subclasses
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
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 |