Padrino::Performance::OS
Module: Padrino::Performance::OS
Overview
OS detection useful for targeting CLI commands. Source: stackoverflow.com/questions/170956/how-can-i-find-which-operating-system-my-ruby-program-is-running-on
Class Method Summary
Class Method Details
.linux? ⇒ Boolean
.mac? ⇒ Boolean
.unix? ⇒ Boolean
.windows? ⇒ Boolean
© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Performance/OS