Module: Canql::Nodes::BatchTypeNode

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

Instance Method Summary collapse

Instance Method Details

#to_typeObject



5
6
7
8
# File 'lib/canql/nodes/batch_types.rb', line 5

def to_type
  string = respond_to?(:normalise) ? normalise : text_value
  string.upcase
end