class Ec2ssh::Command::Remove
Public Class Methods
new(cli)
click to toggle source
Calls superclass method
Ec2ssh::Command::Base::new
# File lib/ec2ssh/command/remove.rb, line 8 def initialize(cli) super end
Public Instance Methods
run()
click to toggle source
# File lib/ec2ssh/command/remove.rb, line 12 def run ssh_config = SshConfig.new(ssh_config_path) raise MarkNotFound unless ssh_config.mark_exist? ssh_config.replace! "" end