Sha256: ef2253cdc9e35197076499b4cee43ab1b2e5667b809291032573d561124a3bda
Contents?: true
Size: 935 Bytes
Versions: 6
Compression:
Stored size: 935 Bytes
Contents
# frozen_string_literal: true module Cryptum # This plugin is used to Get the F* Out (GTFO) when the "G" Key is Pressed module Event module GTFO # Supported Method Parameters:: # Cryptum::Event::GTFO.now( # ) public_class_method def self.now(opts = {}) terminal_win = opts[:terminal_win] option_choice = opts[:option_choice] env = opts[:env] event_history = opts[:event_history] bot_conf = opts[:bot_conf] terminal_win.key_press_event.key_g = false Cryptum::API::Orders.gtfo( option_choice: option_choice, env: env, event_history: event_history, bot_conf: bot_conf ) rescue StandardError => e raise e end # Display Usage for this Module public_class_method def self.help puts "USAGE: bot_conf = #{self}.now() " end end end end
Version data entries
6 entries across 6 versions & 1 rubygems