Module: Canql::Nodes::AllowedTypesNode

Defined in:
lib/canql/nodes/e_base_records.rb

Instance Method Summary collapse

Instance Method Details

#to_listObject



23
24
25
26
# File 'lib/canql/nodes/e_base_records.rb', line 23

def to_list
  list = [batch_type.to_type]
  list.concat types.elements.map(&:extract_type)
end