forked from mmower/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
52 lines (52 loc) · 883 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# Platform
#
# author: Matt Mower <[email protected]>
# license: LGPL
#
#
# The Platform library offers a simple, reliable, means of
# determining what platform Ruby is running on. Underlying
# Platform is the RUBY_PLATFORM constant. This library is
# parsing this constant for information. You could easily do
# this yourself. We've just taken the hassle out of it for
# you and hopefully covered a few of the more unusual cases
# you mightn't have thought of yourself.
#
# On the other hand, if you've got cases we haven't please
# mail the authors.
#
# ==Use
#
# require 'platform'
#
# defines
#
# Platform::OS
# :unix
# :win32
# :vms
# :os2
# :unknown
#
# Platform::IMPL
# :macosx
# :linux
# :freebsd
# :netbsd
# :mswin
# :cygwin
# :mingw
# :bccwin
# :wince
# :vms
# :os2
# :unknown
#
# Platform::ARCH
# :x86
# :ia64
# :powerpc
# :alpha
# :unknown
#