Method: Eg::Music::Realtime#system

Defined in:
lib/eg/music/realtime.rb

#system(prefix, cell) ⇒ Object



28
29
30
31
32
33
34
35
# File 'lib/eg/music/realtime.rb', line 28

def system prefix, cell
  method_name = Fit::Fixture.camel "#{prefix} #{cell.text}"
  begin
    @system.send(method_name)
  rescue Exception => e
    exception cell, e
  end
end