Module: MIDIMessage::Constant::Status
- Defined in:
- lib/midi-message/constant.rb
Overview
Shortcuts for dealing with message status
Class Method Summary collapse
-
.[](status_name) ⇒ String
The value of the Status constant with the name status_name.
Class Method Details
.[](status_name) ⇒ String
The value of the Status constant with the name status_name
119 120 121 122 |
# File 'lib/midi-message/constant.rb', line 119 def self.[](status_name) const = Constant.find("Status", status_name) const.value unless const.nil? end |