Class: CheckList::List
- Inherits:
-
Object
- Object
- CheckList::List
- Defined in:
- lib/list.rb
Overview
Class to build the selection menu
Instance Method Summary collapse
-
#initialize(filepath) ⇒ List
constructor
A new instance of List.
- #show_list ⇒ Object
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_list ⇒ Object
17 18 19 |
# File 'lib/list.rb', line 17 def show_list CheckList::Helpers.log 'list' end |