Class: Vpsb::Resources::DoSshPath

Inherits:
BaseResource show all
Includes:
AskSupport
Defined in:
lib/vpsb/resources/do_ssh_path.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from AskSupport

#ask, #ask_loop, #ask_to_confirm

Instance Attribute Details

#coreObject (readonly)

Returns the value of attribute core.



4
5
6
# File 'lib/vpsb/resources/do_ssh_path.rb', line 4

def core
  @core
end

Instance Method Details

#call(core) ⇒ Object



10
11
12
# File 'lib/vpsb/resources/do_ssh_path.rb', line 10

def call(core)
  core.get(:ssh_helper).ask_for_ssh_path
end