Method: NoteBook#list
- Defined in:
- lib/models/note_book.rb
#list(path) ⇒ Object
15 16 17 18 19 |
# File 'lib/models/note_book.rb', line 15 def list(path) path = path || '' notes_path = File.join(@preferences.notes_dir, path) system("tree #{notes_path}") end |