Sha256: 74cf3f6099a1059b02c2dc7c49c83a662e9d64a032e25fed2a6d638521c46761

Contents?: true

Size: 688 Bytes

Versions: 5

Compression:

Stored size: 688 Bytes

Contents

require "rbconfig"
require "ffi"

module ICU
  def self.platform
    os = RbConfig::CONFIG["host_os"]

    case os
    when /darwin/
      :osx
    when /linux/
      :linux
    when /bsd/
      :bsd
    when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
      :windows
    else
      os
    end
  end
end

require "ffi-icu/core_ext/string"
require "ffi-icu/lib"
require "ffi-icu/lib/util"
require "ffi-icu/uchar"
require "ffi-icu/chardet"
require "ffi-icu/collation"
require "ffi-icu/locale"
require "ffi-icu/transliteration"
require "ffi-icu/normalization"
require "ffi-icu/normalizer"
require "ffi-icu/break_iterator"
require "ffi-icu/number_formatting"
require "ffi-icu/time_formatting"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ffi-icu-0.4.3 lib/ffi-icu.rb
ffi-icu-0.4.2 lib/ffi-icu.rb
ffi-icu-0.4.1 lib/ffi-icu.rb
ffi-icu-0.4.0 lib/ffi-icu.rb
ffi-icu-0.3.0 lib/ffi-icu.rb