Sha256: 06409e480b6d873d32fc9b4ee4f4ad04f32270a43f722b793e2f848cc1002bf2
Contents?: true
Size: 407 Bytes
Versions: 5
Compression:
Stored size: 407 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 def self.system(cmd) defined?(Bundler) ? Bundler.clean_system(cmd) : Kernel.system(cmd) end end end
Version data entries
5 entries across 5 versions & 1 rubygems