3f922a0667
Added polling fallback Removed sys-uname dependency
7 lines
113 B
Ruby
7 lines
113 B
Ruby
def mac?
|
|
Config::CONFIG['target_os'] =~ /darwin/i
|
|
end
|
|
|
|
def linux?
|
|
Config::CONFIG['target_os'] =~ /linux/i
|
|
end |