Method: #get_os

Defined in:
lib/specgen.rb

#get_osObject



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/specgen.rb', line 3

def get_os
  if OS.mac? then
    return "darwin"
  end
  if OS.posix? then
    return "linux"
  end
  if OS.windows? then
    return "windows"
  end
end