# frozen_string_literal: true module Cryptum # This module is used to Accept User Input at Session Initiation module Option # attr_accessor objects to pass through application class Choice attr_accessor :autotrade, :driver_name, :list_products, :proxy, :reset_session_countdown, :session_root, :sandbox, :symbol, :market_trend_reset, :market_trend_reset_label rescue Interrupt # Exit Gracefully if CTRL+C is Pressed During Session Cryptum.exit_gracefully(which_self: self) rescue StandardError => e # Produce a Stacktrace for anything else Curses.close_screen raise e end end end