diff options
Diffstat (limited to 'lib/chef/resource/ruby_block.rb')
-rw-r--r-- | lib/chef/resource/ruby_block.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/ruby_block.rb b/lib/chef/resource/ruby_block.rb index 0e3a980b11..87a4cfb7c5 100644 --- a/lib/chef/resource/ruby_block.rb +++ b/lib/chef/resource/ruby_block.rb @@ -34,7 +34,7 @@ class Chef end def block(&block) - if block_given? and block + if block_given? && block @block = block else @block |