Class Platform
In: lib/more/facets/platform.rb
Parent: Object

Methods

==   ===   =~   big_endian?   byte_order   const_missing   inspect   little_endian?   local   match   new   supported   to_a   to_s  

Classes and Modules

Module Platform::ByteOrder

Constants

RbConfig = Config unless defined? ::RbConfig
DEPRECATED_CONSTS = [ :DARWIN, :LINUX_586, :MSWIN32, :PPC_DARWIN, :WIN32, :X86_LINUX
RUBY = 'ruby'   A pure-ruby gem that may use Gem::Specification#extensions to build binary files.
CURRENT = 'current'   A platform-specific gem that is built for the packaging ruby‘s platform. This will be replaced with Gem::Platform::local.

Attributes

cpu  [RW] 
os  [RW] 
version  [RW] 

Public Class methods

Array of supported platforms (ie. pure-Ruby and local platform).

Public Instance methods

Determine byte order of underlying machine.

[Validate]