Class: Webmidi::Message::Channel::Base
- Defined in:
- lib/webmidi/message/channel.rb
Direct Known Subclasses
ChannelPressure, ControlChange, NoteOff, NoteOn, PitchBend, PolyphonicPressure, ProgramChange
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
Attributes inherited from Base
Method Summary
Methods inherited from Base
#==, #deconstruct, #deconstruct_keys, #eql?, #hash, #initialize, #same_bytes?, #same_event?, #to_binary, #to_bytes, #to_hex, #with
Constructor Details
This class inherits a constructor from Webmidi::Message::Base
Instance Attribute Details
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
7 8 9 |
# File 'lib/webmidi/message/channel.rb', line 7 def channel @channel end |