Sha256: baf8a09a7e677fa9d0d5d3aa41c612167cf78e631c02c32a706201a5e9f12a7f
Contents?: true
Size: 543 Bytes
Versions: 22
Compression:
Stored size: 543 Bytes
Contents
require 'rbconfig' module Launchy::Detect class HostOs attr_reader :host_os alias to_s host_os def initialize( host_os = nil ) @host_os = host_os if not @host_os then if @host_os = override_host_os then Launchy.log "Using LAUNCHY_HOST_OS override value of '#{Launchy.host_os}'" else @host_os = default_host_os end end end def default_host_os ::RbConfig::CONFIG['host_os'] end def override_host_os Launchy.host_os end end end
Version data entries
22 entries across 22 versions & 3 rubygems