Class: MIDICommunications::Input

Inherits:
Object
  • Object
show all
Extended by:
Device::ClassMethods
Includes:
Device::InstanceMethods, StreamReader
Defined in:
lib/midi-communications/input.rb,
lib/midi-communications/input/stream_reader.rb

Overview

A MIDI input device

Defined Under Namespace

Modules: StreamReader

Class Method Summary collapse

Methods included from Device::ClassMethods

at, each, find_by_name, first, gets, last, list, use

Methods included from StreamReader

#gets, #gets_data, #gets_data_s, #gets_s

Methods included from Device::InstanceMethods

#close, #closed?, included, #initialize, #open

Class Method Details

.allArray<Input>

All MIDI input devices – used to populate the class

Returns:



12
13
14
# File 'lib/midi-communications/input.rb', line 12

def self.all
  Loader.devices(direction: :input)
end