Sha256: aa2649ee2181c00678a8ea50395b59eafbf744cbc128abfe325fc2baf1566fc7

Contents?: true

Size: 378 Bytes

Versions: 6891

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

module RuboCop
  module Cop
    # Common functionality for checking target ruby version.
    module TargetRubyVersion
      def minimum_target_ruby_version(version)
        @minimum_target_ruby_version = version
      end

      def support_target_ruby_version?(version)
        @minimum_target_ruby_version <= version
      end
    end
  end
end

Version data entries

6,891 entries across 6,866 versions & 28 rubygems

Version Path
rubocop-0.61.1 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.61.0 lib/rubocop/cop/mixin/target_ruby_version.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/rubocop-0.60.0/lib/rubocop/cop/mixin/target_ruby_version.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/rubocop-0.60.0/lib/rubocop/cop/mixin/target_ruby_version.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/rubocop-0.60.0/lib/rubocop/cop/mixin/target_ruby_version.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/rubocop-0.60.0/lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.60.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.59.2 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.59.1 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.59.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.58.2 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.58.1 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.58.0 lib/rubocop/cop/mixin/target_ruby_version.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/rubocop-0.57.2/lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.57.2 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.57.1 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.57.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.56.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.55.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.54.0 lib/rubocop/cop/mixin/target_ruby_version.rb