class SMF::MIDIPort

Attributes

num[RW]
number[RW]
number=[RW]

Public Class Methods

new(offset, num) click to toggle source
Calls superclass method SMF::Meta::new
# File lib/smf.rb, line 626
def initialize(offset, num)
  # num:0/2**8-1
  super(offset)
  @num = num
end

Public Instance Methods

==(other) click to toggle source
Calls superclass method SMF::Event#==
# File lib/smf.rb, line 637
def == (other)
  super && num == other.num
end