Skip to content

lkfken/os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS

The gem helps identify the host system OS. The original source was found here

Installation

Add this line to your application's Gemfile:

gem 'os', :github => 'lkfken/os'

And then execute:

$ bundle

Usage

OS.host # :windows, :macosx, :linux, :unix, or raise OS::UnknownError

Contributing

  1. Fork it ( https://github.com/[my-github-username]/os/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

The OS gem helps identify host system OS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages