Sha256: f533caf0ceb843cafdd9b64fe8f0e14459bee2cc2740b67e72686016afccdffe

Contents?: true

Size: 766 Bytes

Versions: 4

Compression:

Stored size: 766 Bytes

Contents

# frozen_string_literal: true

module Cryptum
  # This plugin is used to Cancel Open Limit Orders
  module Option
    # Keep Last Event History When Terminal Resize Occuers
    class Choice
      attr_accessor :autotrade,
                    :driver_name,
                    :list_products,
                    :proxy,
                    :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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cryptum-0.0.325 lib/cryptum/option/choice.rb
cryptum-0.0.324 lib/cryptum/option/choice.rb
cryptum-0.0.323 lib/cryptum/option/choice.rb
cryptum-0.0.322 lib/cryptum/option/choice.rb