class
ICU::UEnum
- ICU::UEnum
- Reference
- Object
Overview
String Enumeration
See also:
Included Modules
- Enumerable(String)
Defined in:
icu/uenum.crConstructors
-
.new(elements : Array(String))
FIXME not thread-safe
-
.new(uenum : LibICU::UEnumeration, *, owns : Bool = false)
Wraps an existing
UEnumerationhandle.
Instance Method Summary
Constructor Detail
def self.new(uenum : LibICU::UEnumeration, *, owns : Bool = false)
#
Wraps an existing UEnumeration handle.
Pass owns: true to transfer ownership so that the handle is closed when
this object is finalized. The default (owns: false) leaves lifetime
management to the caller.