diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-01-13 08:07:08 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-01-13 08:07:08 -0800 |
commit | 8e1e75da57b3c5d56abc180238440cf4e411d3ae (patch) | |
tree | e62802d28c41124f9db3be507ff37e5df8d95996 /lib/chef/user_v1.rb | |
parent | 5e5cbe6df61ae69b9a5942ce51a7ad1f8bb6ea3a (diff) | |
download | chef-8e1e75da57b3c5d56abc180238440cf4e411d3ae.tar.gz |
yet more lint copslcg/lint-cops-again
fixes:
Lint/AmbiguousOperator
Lint/DuplicateMethods
Diffstat (limited to 'lib/chef/user_v1.rb')
-rw-r--r-- | lib/chef/user_v1.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/chef/user_v1.rb b/lib/chef/user_v1.rb index 077fca50b9..b628c76381 100644 --- a/lib/chef/user_v1.rb +++ b/lib/chef/user_v1.rb @@ -1,6 +1,6 @@ # # Author:: Steven Danna (steve@opscode.com) -# Copyright:: Copyright 2012 Opscode, Inc. +# Copyright:: Copyright 2012-2016 Chef Software, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -93,11 +93,6 @@ class Chef arg, :kind_of => String) end - def password(arg=nil) - set_or_return(:password, - arg, :kind_of => String) - end - def create_key(arg=nil) set_or_return(:create_key, arg, :kind_of => [TrueClass, FalseClass]) |