Sha256: 8558a590d69d5693f3c987af815bad6f36e22e362f2059f66bae0c0c071c6fad
Contents?: true
Size: 289 Bytes
Versions: 1
Compression:
Stored size: 289 Bytes
Contents
module RunLoop class Environment # Returns the user's Unix uid. # @return [Integer] The user's Unix uid as an integer. def self.uid `id -u`.strip.to_i end # Returns true if debugging is enabled. def self.debug? ENV['DEBUG'] == '1' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
run_loop-1.2.7 | lib/run_loop/environment.rb |