Class: MIDI::Clock

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) ⇒ Clock

Returns a new instance of Clock.


358
359
360
# File 'lib/midilib/event.rb', line 358

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

Instance Method Details

#to_sObject


362
363
364
# File 'lib/midilib/event.rb', line 362

def to_s
  return super << "clock"
end