Sha256: 364ca2feadf1d14f0ac8ee44f5fede619026e6557646cea1fa5ce43c54f25e4c

Contents?: true

Size: 716 Bytes

Versions: 25

Compression:

Stored size: 716 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,
                    :repo_root,
                    :sandbox,
                    :symbol,
                    :market_trend_reset

    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

25 entries across 25 versions & 1 rubygems

Version Path
cryptum-0.0.234 lib/cryptum/option/choice.rb
cryptum-0.0.233 lib/cryptum/option/choice.rb
cryptum-0.0.232 lib/cryptum/option/choice.rb
cryptum-0.0.231 lib/cryptum/option/choice.rb
cryptum-0.0.230 lib/cryptum/option/choice.rb