class ICU::UEnum

Overview

String Enumeration

See also:

Included Modules

Defined in:

icu/uenum.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(elements : Array(String)) #

FIXME not thread-safe


[View source]
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.


[View source]

Instance Method Detail

def each(&) #
Description copied from module Enumerable(String)

Must yield this collection's elements to the block.


[View source]
def finalize #

[View source]