Detecting Operating Systems in Ruby

Viewed 29306

Is there a way to detect the operating system in ruby? I am working on developing a sketchup tool that will need to detect Mac vs. Windows.

4 Answers
Related