Class: Vpsb::Resources::DoSshPubPath

Inherits:
BaseResource show all
Includes:
AskSupport
Defined in:
lib/vpsb/resources/do_ssh_pub_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_pub_path.rb', line 4

def core
  @core
end

Instance Method Details

#call(core) ⇒ Object



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

def call(core)
  core.get(:do_ssh_path) + '/id_rsa'
end