wol
TODO Write a description here
Installation
-
Add the dependency to your
shard.yml
:dependencies: wol: github: your-github-user/wol
-
Run
shards install
Usage
require "wol"
-
defaults Wol.wake("mac address") do |results| if results puts "Sent!" end end
-
options Wol.wake("mac address",{"num_packets" => 3, "secure" => "hex password","port"=> 7, "address" =>"255.255.255.0"}) do |results| if results puts "Sent!" end
end
Development
Contributing
- Fork it (https://github.com/your-github-user/wol/fork)
- 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 a new Pull Request
Contributors
- Sal Scotto - creator and maintainer