Class: Ucode::Models::CodePoint::Decomposition

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/ucode/models/codepoint/decomposition.rb

Overview

Decomposition mapping for a codepoint. From UnicodeData.txt fields 5 (type) and 6 (mapping). Type ‘none` means no decomposition.

‘codepoint_ids` are the decomposed-into codepoints as ID strings.

Instance Method Summary collapse

Instance Method Details

#is_canonical?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/ucode/models/codepoint/decomposition.rb', line 21

def is_canonical?
  type == "can"
end