diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-12-12 21:26:57 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-12-14 09:29:23 -0800 |
commit | a0c7548274334beeeab4bce6e37e176e232d267e (patch) | |
tree | f140fc803321bad9b9237415aebfe5095d73df9e /spec/support/platform_helpers.rb | |
parent | 6c1e357dc5e2e9610a6922b5e53c414b5fcb22c5 (diff) | |
download | chef-a0c7548274334beeeab4bce6e37e176e232d267e.tar.gz |
Use extend instead of opening class and including
Diffstat (limited to 'spec/support/platform_helpers.rb')
-rw-r--r-- | spec/support/platform_helpers.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb index fa61a52129..959580c953 100644 --- a/spec/support/platform_helpers.rb +++ b/spec/support/platform_helpers.rb @@ -3,9 +3,7 @@ require 'chef/mixin/shell_out' class ShellHelpers - class << self - include Chef::Mixin::ShellOut - end + extend Chef::Mixin::ShellOut end def ruby_gte_20? |