module PaperHouse::Platform

Platform-dependent stuff.

Constants

LDSHARED

CC options for compiling shared libraries.

MAC

MACOSX or not.

RUBY_INCLUDES

Include directories for compiling C extensions.

RUBY_LIBDIR

Library directories for compiling C extensions.

SHARED_EXT

File extension of C extensions.

SONAME_OPTION

CC option for setting soname.

Public Class Methods

name() click to toggle source

Platform name.

# File lib/paper_house/platform.rb, line 34
def self.name
  (MAC ? 'mac' : 'linux').freeze
end