Class: Vpsb::Resources::DoSshPubPath
- Inherits:
-
BaseResource
- Object
- BaseResource
- Vpsb::Resources::DoSshPubPath
- Includes:
- AskSupport
- Defined in:
- lib/vpsb/resources/do_ssh_pub_path.rb
Instance Attribute Summary collapse
-
#core ⇒ Object
readonly
Returns the value of attribute core.
Instance Method Summary collapse
Methods included from AskSupport
#ask, #ask_loop, #ask_to_confirm
Instance Attribute Details
#core ⇒ Object (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 |