Method: Fulmar::Domain::Model::Configuration#ssh_user_and_host
- Defined in:
- lib/fulmar/domain/model/configuration.rb
#ssh_user_and_host ⇒ Object
TODO:
Is there another way to do this?
Return the combined user and host
79 80 81 |
# File 'lib/fulmar/domain/model/configuration.rb', line 79 def ssh_user_and_host self[:user].blank? ? self[:hostname] : self[:user] + '@' + self[:hostname] end |