Class: Me::Cli::SshConfigCommand

Inherits:
Struct
  • Object
show all
Defined in:
lib/me/cli/ssh_config_command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#identity_nameObject

Returns the value of attribute identity_name

Returns:

  • (Object)

    the current value of identity_name



6
7
8
# File 'lib/me/cli/ssh_config_command.rb', line 6

def identity_name
  @identity_name
end

#keysObject

Returns the value of attribute keys

Returns:

  • (Object)

    the current value of keys



6
7
8
# File 'lib/me/cli/ssh_config_command.rb', line 6

def keys
  @keys
end

Instance Method Details

#callObject



7
8
9
10
# File 'lib/me/cli/ssh_config_command.rb', line 7

def call
  ssh_config.configure
  current_ssh_config.build_view(SshConfigView)
end