Class: CheckList::List

Inherits:
Object
  • Object
show all
Defined in:
lib/list.rb

Overview

Class to build the selection menu

Instance Method Summary collapse

Constructor Details

#initialize(filepath) ⇒ List

Returns a new instance of List.



11
12
13
14
15
# File 'lib/list.rb', line 11

def initialize(filepath)
    CheckList::Helpers.clear
    @json = filepath.fetch_json
    show_list
end

Instance Method Details

#show_listObject



17
18
19
# File 'lib/list.rb', line 17

def show_list
    CheckList::Helpers.log 'list'
end