Module: UniMIDI::Adapter::MIDIJRuby::Loader

Defined in:
lib/unimidi/adapter/midi-jruby.rb

Class Method Summary collapse

Class Method Details

.inputsArray<MIDIJRuby::Input>

Returns:

  • (Array<MIDIJRuby::Input>)


13
14
15
# File 'lib/unimidi/adapter/midi-jruby.rb', line 13

def inputs
  ::MIDIJRuby::Device.all_by_type[:input]
end

.outputsArray<MIDIJRuby::Output>

Returns:

  • (Array<MIDIJRuby::Output>)


18
19
20
# File 'lib/unimidi/adapter/midi-jruby.rb', line 18

def outputs
  ::MIDIJRuby::Device.all_by_type[:output]
end