Sha256: a3bdab15f4105260953a29e08dd8dce60395ca1f3f6a4ed19ac7e2e5ae535490

Contents?: true

Size: 300 Bytes

Versions: 17

Compression:

Stored size: 300 Bytes

Contents

require 'os'

module DockerSync
  module Environment
    def self.linux?
      return @linux if defined? @linux
      @linux = OS.linux?
    end

    def self.mac?
      return @mac if defined? @mac
      @mac = OS.mac?
    end

    def self.freebsd?
      @freebsd ||= OS.freebsd?
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
docker-sync-0.5.11.pre.beta1 lib/docker-sync/environment.rb
docker-sync-0.5.10 lib/docker-sync/environment.rb
docker-sync-0.5.10.pre.beta1 lib/docker-sync/environment.rb
docker-sync-0.5.9 lib/docker-sync/environment.rb
docker-sync-0.5.8 lib/docker-sync/environment.rb
docker-sync-0.5.7 lib/docker-sync/environment.rb
docker-sync-0.5.6 lib/docker-sync/environment.rb
docker-sync-0.5.5 lib/docker-sync/environment.rb
docker-sync-0.5.4 lib/docker-sync/environment.rb
docker-sync-0.5.3 lib/docker-sync/environment.rb
docker-sync-0.5.2 lib/docker-sync/environment.rb
docker-sync-0.5.1 lib/docker-sync/environment.rb
docker-sync-0.5.0 lib/docker-sync/environment.rb
docker-sync-0.5.0.pre.rc1 lib/docker-sync/environment.rb
docker-sync-0.5.0.pre.beta3 lib/docker-sync/environment.rb
docker-sync-0.5.0.pre.beta2 lib/docker-sync/environment.rb
docker-sync-0.5.0.pre.beta1 lib/docker-sync/environment.rb