Class: Etna::Cwl::EnumType::InnerLoader
- Defined in:
- lib/etna/cwl.rb
Instance Method Summary collapse
Methods inherited from Loader
#as_array, #as_mapped_array, #map, #optional, #or
Instance Method Details
#load(val) ⇒ Object
339 340 341 342 343 344 |
# File 'lib/etna/cwl.rb', line 339 def load(val) RecordLoader.new(EnumType, { type: EnumLoader.new("enum"), symbols: PrimitiveLoader::STRING.as_array, }).load(val) end |