Volumerb
Gem to manage the volume on GNU/Linux and Mac OS X operating systems.
Installation
Add this line to your application's Gemfile:
gem 'volumerb'
And then execute:
$ bundle
Or install it yourself as:
$ gem install volumerb
Usage
The available methods are:
vol- Returns the current volume state (on/off if unmuted/muted and a value)up- Increases volume.down- Decreases volume.mute- Mutes/unmutes sound.,volandmute.
Example:
</code>
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
TODO
- Method for setting the volume value directly, eg: Volumerb.vol = 30
- Customize volume increase/decrease