Sha256: 022aa790a780c13b7553a20867851a38cce563c83f71aa3587da7f5820fb1a87

Contents?: true

Size: 785 Bytes

Versions: 1

Compression:

Stored size: 785 Bytes

Contents

# 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::UI::Exit.gracefully
    rescue StandardError => e
      # Produce a Stacktrace for anything else
      raise e
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cryptum-0.0.386 lib/cryptum/option/choice.rb