class Fir::CtrlZCommand
Public Class Methods
character_regex()
click to toggle source
# File lib/fir/key_command/ctrl_z_command.rb, line 8 def self.character_regex /^\u001A$/ end
Public Instance Methods
execute_hook(new_state)
click to toggle source
# File lib/fir/key_command/ctrl_z_command.rb, line 12 def execute_hook(new_state) `kill -TSTP #{Process.pid}` new_state end