Module: MIDICommunications::Adapter::JRuby::Loader Private

Extended by:
Loader
Included in:
Loader
Defined in:
lib/midi-communications/adapter/jruby.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Loader for JRuby MIDI devices.

API:

  • private

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.inputsArray<MIDIJRuby::Input>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns all available MIDI input devices.

Returns:

API:

  • private



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

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

.outputsArray<MIDIJRuby::Output>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns all available MIDI output devices.

Returns:

API:

  • private



24
25
26
# File 'lib/midi-communications/adapter/jruby.rb', line 24

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

Instance Method Details

#inputsArray<MIDIJRuby::Input>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns all available MIDI input devices.

Returns:

API:

  • private



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

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

#outputsArray<MIDIJRuby::Output>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns all available MIDI output devices.

Returns:

API:

  • private



24
25
26
# File 'lib/midi-communications/adapter/jruby.rb', line 24

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