Class: ICU::NumberFormatting::BaseFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/ffi-icu/number_formatting.rb

Direct Known Subclasses

CurrencyFormatter, NumberFormatter

Instance Method Summary collapse

Instance Method Details

#set_attributes(options) ⇒ Object



42
43
44
45
# File 'lib/ffi-icu/number_formatting.rb', line 42

def set_attributes(options)
  options.each { |key, value| Lib.unum_set_attribute(@f, key, value) }
  self
end