lib/chef/knife/vault_base.rb in chef-vault-2.4.0 vs lib/chef/knife/vault_base.rb in chef-vault-2.5.0

- old
+ new

@@ -1,7 +1,7 @@ # Description: Chef-Vault VaultBase module -# Copyright 2013, Nordstrom, Inc. +# Copyright 2013-15, Nordstrom, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -31,10 +31,10 @@ option :vault_mode, :short => '-M MODE', :long => '--mode MODE', :description => 'Chef mode to run in default - solo', - :proc => Proc.new { |i| Chef::Config[:knife][:vault_mode] = i } + :proc => proc { |i| Chef::Config[:knife][:vault_mode] = i } end end def show_usage super