Class: Ucode::Models::Plane

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

Overview

One of the 17 Unicode planes (BMP through Plane 16).

Plane metadata is derived from the codepoint range. Plane pages are pre-rendered; per-codepoint pages are loaded client-side.

Instance Method Summary collapse

Instance Method Details

#codepoint_countObject

Canonical short description derived from the codepoint range. Planes 3..13 are the “Surrogate / Private Use / Special” range — kept together under a single display grouping.



31
32
33
# File 'lib/ucode/models/plane.rb', line 31

def codepoint_count
  range_last - range_first + 1
end