Class: Etna::Cwl::ArrayType::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
322 323 324 325 326 327 |
# File 'lib/etna/cwl.rb', line 322 def load(val) RecordLoader.new(ArrayType, { type: EnumLoader.new("array"), items: TypedDSLLoader::WITH_UNIONS_TYPE_LOADER, }).load(val) end |