Class: PasteboaRb::Platform

Inherits:
Object show all
Defined in:
lib/pasteboarb/platform.rb

Defined Under Namespace

Modules: NonSupported, Supported

Class Method Summary collapse

Class Method Details

.OSObject



3
4
5
6
7
8
9
# File 'lib/pasteboarb/platform.rb', line 3

def self.OS
    os = NonSupported::UNKNOWN
    if RUBY_PLATFORM =~ /darwin/i
      os = Supported::MACOSX
    end
    os
end