Method: Fusuma::Device.all
- Defined in:
- lib/fusuma/device.rb
.all ⇒ Array
Return devices sort devices by capabilities of gesture : () -> Array
41 42 43 44 45 |
# File 'lib/fusuma/device.rb', line 41 def all @all ||= fetch_devices.partition do |d| d.capabilities.match?(/gesture/) end.flatten end |