Sha256: 121b13bff26b6aa4bec5f60b682262e9791638b7d6321712a8e581d66eefe246
Contents?: true
Size: 642 Bytes
Versions: 1
Compression:
Stored size: 642 Bytes
Contents
# frozen_string_literal: true module Cryptum # This plugin is used to Exit Cryptum Gracefully When the "x" Key is Pressed module Event module Exit # Supported Method Parameters:: # Cryptum::Event::Exit.gracefully( # ) public_class_method def self.gracefully(opts = {}) event_history = opts[:event_history] Cryptum::UI::Exit.gracefully(event_history: event_history) rescue StandardError => e raise e end # Display Usage for this Module public_class_method def self.help puts "USAGE: #{self}.gracefully() " end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cryptum-0.0.386 | lib/cryptum/event/exit.rb |