module ICU

Constants

VERSION

Public Class Methods

platform() click to toggle source
# File lib/ffi-icu.rb, line 5
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