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

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

Instance Method Summary collapse

Instance Method Details

#inputsArray<JRuby::Input>

Returns:

  • (Array<JRuby::Input>)


11
12
13
# File 'lib/midi-communications/adapter/jruby.rb', line 11

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

#outputsArray<JRuby::Output>

Returns:

  • (Array<JRuby::Output>)


16
17
18
# File 'lib/midi-communications/adapter/jruby.rb', line 16

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