Sha256: 00ab7a8b402c3bba69b6b7c60784205176224cdf34e47fbf8bda479282861354
Contents?: true
Size: 466 Bytes
Versions: 14
Compression:
Stored size: 466 Bytes
Contents
# frozen_string_literal: true # shamelessly borrowed from rubocop-rails. Thanks! module RuboCop module Cop # Common functionality for checking target chef version. module TargetChefVersion def minimum_target_chef_version(version) @minimum_target_chef_version = version end def support_target_chef_version?(version) Gem::Version.new(@minimum_target_chef_version) <= Gem::Version.new(version) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems