Module: Canql::Nodes::BatchTypeNode

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

Instance Method Summary collapse

Instance Method Details

#to_typeObject



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

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