Sha256: 44a3ab5af978c7b7003acc8f2876b12dde75caac61fd9ef912d532d912de54e0
Contents?: true
Size: 991 Bytes
Versions: 69
Compression:
Stored size: 991 Bytes
Contents
# frozen_string_literal: true module Cryptum # Cryptum::UI Module used for Presenting the # Cryptum Curses Interface module UI # This Class is Used to Detect Key Press Events class KeyPressEvent attr_accessor :key_c, :key_g, :key_r, :key_u, :key_w, :key_x, :key_ansi, :key_down_arrow, :key_end, :key_enter, :key_esc, :key_home, :key_page_down, :key_page_up, :key_tab, :key_up_arrow rescue Interrupt, StandardError => e # Produce a Stacktrace for anything else Cryptum::Log.append(level: :error, msg: e, which_self: self) end # Display a List of Every UI Module public_class_method def self.help puts constants.sort end end end
Version data entries
69 entries across 69 versions & 1 rubygems