Module: RubynCode::CLI::ReplLifecycle

Included in:
REPL
Defined in:
lib/rubyn_code/cli/repl_lifecycle.rb

Overview

Session persistence, shutdown, and learning extraction for the REPL.

Constant Summary collapse

GOODBYE_MESSAGES =
[
  'Freezing strings and saving memories... See ya! 💎',
  'Memoizing this session... Until next time! 🧠',
  'Committing learnings to memory... Later! 🤙',
  'Saving state, yielding control... Bye for now! 👋',
  'Session.save! && Rubyn.sleep... Catch you later! 😴',
  "GC.start on this session... Stay Ruby, friend! \u270C\uFE0F",
  "Writing instincts to disk... Don't forget me! 💾",
  "at_exit { puts 'Thanks for coding with Rubyn!' } 🎸"
].freeze