Method: PM::ListWindow#set_contents

Defined in:
lib/patchmaster/curses/list_window.rb

#set_contents(title, list, curr_item_method_sym) ⇒ Object

PM::PatchMaster to obtain the current item so we can highlight it.



15
16
17
18
# File 'lib/patchmaster/curses/list_window.rb', line 15

def set_contents(title, list, curr_item_method_sym)
  @title, @list, @curr_item_method_sym = title, list, curr_item_method_sym
  draw
end