Class: Etna::Cwl::ArrayType

Inherits:
Etna::Cwl show all
Defined in:
lib/etna/cwl.rb

Defined Under Namespace

Classes: InnerLoader

Constant Summary

Constants inherited from Etna::Cwl

FIELD_LOADERS

Instance Method Summary collapse

Methods inherited from Etna::Cwl

#as_json, as_json, #initialize, load_item, loader

Constructor Details

This class inherits a constructor from Etna::Cwl

Instance Method Details

#type_loaderObject



330
331
332
333
334
# File 'lib/etna/cwl.rb', line 330

def type_loader
  loader = RecordType::Field.type_loader(@attributes['items'])
  return nil if loader.nil?
  @type_loader ||= ArrayLoader.new(loader)
end