class SafeDb::Wipe
The wipe use case clears out any sensitive information from the clipboard. Typically it will be called after the copy use case has placed line values into both the primary and secondary clipboards (Ctrl-v and middle-click).
Public Instance Methods
execute()
click to toggle source
# File lib/controller/misc/wipe.rb, line 10 def execute() system "printf \"safe wiped the clipboard on #{TimeStamp.readable()}.\" | xclip" system "printf \"safe wiped the clipboard on #{TimeStamp.readable()}.\" | xclip -selection clipbaord" puts "" puts "safe has wiped the clipboards." puts "" end