diff options
author | AbhishekKr <abhikumar163@gmail.com> | 2016-09-10 02:28:30 +0530 |
---|---|---|
committer | AbhishekKr <abhikumar163@gmail.com> | 2016-09-10 02:28:30 +0530 |
commit | 5c01c0f74941d4f788e254ae4d040c0e4a2a477d (patch) | |
tree | 8cf25328d577db77d191d88bdc85277629553f3e /lib/chef/mixin/securable.rb | |
parent | c3c6cfc156d0a0bfe7c7dd4f273a2c2bdc4b0281 (diff) | |
parent | 3731bff0641d0cb12780bc52376e50d9a0a71644 (diff) | |
download | chef-5c01c0f74941d4f788e254ae4d040c0e4a2a477d.tar.gz |
Merge branch 'master' of https://github.com/chef/chef
Diffstat (limited to 'lib/chef/mixin/securable.rb')
-rw-r--r-- | lib/chef/mixin/securable.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/mixin/securable.rb b/lib/chef/mixin/securable.rb index a88d534b37..55b4e0a6d1 100644 --- a/lib/chef/mixin/securable.rb +++ b/lib/chef/mixin/securable.rb @@ -43,7 +43,7 @@ class Chef :mode, arg, :callbacks => { - "not in valid numeric range" => lambda { |m| + "not in valid numeric range" => lambda do |m| if m.kind_of?(String) m =~ /^0/ || m = "0#{m}" end @@ -54,7 +54,7 @@ class Chef else Integer(m) <= 07777 && Integer(m) >= 0 end - }, + end, } ) end |