Class: MIDI::SystemReset

Inherits:
Realtime show all
Defined in:
lib/midilib/event.rb

Instance Attribute Summary

Attributes inherited from Event

#delta_time, #print_channel_numbers_from_one, #print_decimal_numbers, #print_note_names, #status, #time_from_start

Instance Method Summary collapse

Methods inherited from Realtime

#data_as_bytes

Methods inherited from Event

#<=>, #channel_to_s, #data_as_bytes, #number_to_s, #quantize_to

Constructor Details

#initialize(delta_time = 0) ⇒ SystemReset

Returns a new instance of SystemReset.


404
405
406
# File 'lib/midilib/event.rb', line 404

def initialize(delta_time = 0)
  super(SYSTEM_RESET, delta_time)
end

Instance Method Details

#to_sObject


407
408
409
# File 'lib/midilib/event.rb', line 407

def to_s
  return super << "sys reset"
end