projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Minor change to inflection.
[arvados.git]
/
lib
/
google
/
api_client
/
environment.rb
1
module Google
2
class APIClient
3
module ENV
4
OS_VERSION = if RUBY_PLATFORM =~ /win32/
5
`ver`.sub(/\s*\[Version\s*/, '/').sub(']', '')
6
elsif RUBY_PLATFORM =~ /darwin/i
7
"Mac OS X/#{`sw_vers -productVersion`}"
8
else
9
`uname -sr`.sub(' ', '/')
10
end
11
end
12
end
13
end