Simple Note App
A command-line note-taking application built in Ruby. Add, edit, delete and view notes — all stored persistently on disk.
Features
- Add notes
- Edit existing notes
- Delete notes with confirmation prompt
- View all notes with timestamps
- Notes persist between sessions using PStore
########## Simple Note Application ##########
a) Add b) Edit d) Delete s) Show All q) Quit
> a
Note: Buy groceries
> s
------------------------ 1 ------------------------
Date: 2026-06-03 12:00:00 | Note: Buy groceries
------------------------------------------------------
> b
Enter Index Number to edit: 1
Note: Buy groceries and cook dinner
********************Entry Updated********************
> d
Enter Index Number to delete: 1
Are you sure? (y/n): y
********************Entry Deleted********************
> q
#################### Goodbye! ####################
Tech Stack
- Ruby 2.7+
- Ruby built-in
PStorefor persistence
Project Structure
main.rb- Entry pointapplication.rb- Main application loopmenu.rb- User interaction and menu actionsmanager.rb- Business logic layerdatabase.rb- PStore persistence layernote.rb- Note model