Module: Walkon
- Defined in:
- lib/walkon/daemon.rb,
lib/walkon.rb,
lib/walkon/device.rb,
lib/walkon/version.rb,
lib/walkon/hci_tool.rb,
lib/walkon/entrance_music.rb
Overview
Finds and plays the entrance music for a given device.
Defined Under Namespace
Classes: Daemon, Device, EntranceMusic, HciTool
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
Class Method Details
.env ⇒ Object
15 16 17 |
# File 'lib/walkon.rb', line 15 def self.env ENV['WALKON_ENV'] || 'development' end |
.found_hcitool? ⇒ Boolean
9 10 11 12 13 |
# File 'lib/walkon.rb', line 9 def self.found_hcitool? !!`hcitool -h` rescue Errno::ENOENT false end |