class RawMIDI::Input

Public Class Methods

all() click to toggle source
# File lib/rawmidi/input.rb, line 8
def self.all
  Card.all.flat_map(&:inputs)
end

Public Instance Methods

input?() click to toggle source
# File lib/rawmidi/input.rb, line 12
def input?
  true
end
output?() click to toggle source
# File lib/rawmidi/input.rb, line 16
def output?
  false
end
read() click to toggle source
# File lib/rawmidi/input.rb, line 20
def read
  fail NotImplementedError
end

Private Instance Methods

direction() click to toggle source
# File lib/rawmidi/input.rb, line 26
def direction
  :input
end