diff options
Diffstat (limited to 'lib/chef/util/powershell/ps_credential.rb')
-rw-r--r-- | lib/chef/util/powershell/ps_credential.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/chef/util/powershell/ps_credential.rb b/lib/chef/util/powershell/ps_credential.rb index 3f4558a77c..2fc0650e5f 100644 --- a/lib/chef/util/powershell/ps_credential.rb +++ b/lib/chef/util/powershell/ps_credential.rb @@ -29,9 +29,8 @@ class Chef::Util::Powershell "New-Object System.Management.Automation.PSCredential('#{@username}',('#{encrypt(@password)}' | ConvertTo-SecureString))" end - def to_s - to_psobject - end + alias to_s to_psobject + alias to_text to_psobject private |