Method: PM::PatchMaster#initialize

Defined in:
lib/patchmaster/patchmaster.rb

#initializePatchMaster

Returns a new instance of PatchMaster.



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/patchmaster/patchmaster.rb', line 34

def initialize
  @running = false
  @cursor = Cursor.new(self)
  super(@cursor)
  @use_midi = true
  @gui = nil
  @message_bindings = {}
  @code_bindings = {}

  if $DEBUG
    @debug_file = File.open(DEBUG_FILE, 'a')
  end

  init_data
end