Sha256: 736e8041401f43a0fc3fda9efaaacfcf208f60831e8b6af2cf705302bec94362
Contents?: true
Size: 307 Bytes
Versions: 7
Compression:
Stored size: 307 Bytes
Contents
# Helper functions for determining platform # TODO how do I do this in ruby 1.9, since PLATFORM doesn't exist? class Platform def self.mac? return PLATFORM =~ /darwin/ end def self.windows? return PLATFORM =~ /mswin/ end def self.linux? return PLATFORM =~ /linux/ end end
Version data entries
7 entries across 7 versions & 1 rubygems