summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/securable.rb
diff options
context:
space:
mode:
authorAbhishekKr <abhikumar163@gmail.com>2016-09-10 02:28:30 +0530
committerAbhishekKr <abhikumar163@gmail.com>2016-09-10 02:28:30 +0530
commit5c01c0f74941d4f788e254ae4d040c0e4a2a477d (patch)
tree8cf25328d577db77d191d88bdc85277629553f3e /lib/chef/mixin/securable.rb
parentc3c6cfc156d0a0bfe7c7dd4f273a2c2bdc4b0281 (diff)
parent3731bff0641d0cb12780bc52376e50d9a0a71644 (diff)
downloadchef-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.rb4
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