Method: PM::PatchMaster#init_data

Defined in:
lib/patchmaster/patchmaster.rb

#init_dataObject

Initializes the cursor and all data.



91
92
93
94
95
96
97
98
99
# File 'lib/patchmaster/patchmaster.rb', line 91

def init_data
  @cursor.clear
  @inputs = []
  @outputs = []
  @song_lists = []
  @all_songs = SortedSongList.new('All Songs')
  @song_lists << @all_songs
  @messages = {}
end