Sha256: aa2649ee2181c00678a8ea50395b59eafbf744cbc128abfe325fc2baf1566fc7

Contents?: true

Size: 378 Bytes

Versions: 6890

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,890 entries across 6,865 versions & 28 rubygems

Version Path
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.73.0 lib/rubocop/cop/mixin/target_ruby_version.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/rubocop-0.72.0/lib/rubocop/cop/mixin/target_ruby_version.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/rubocop-0.72.0/lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.72.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.71.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.70.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.69.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.68.1 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.68.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.67.2 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.67.1 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.67.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.66.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.65.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.64.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.63.1 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.63.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.62.0 lib/rubocop/cop/mixin/target_ruby_version.rb
rubocop-0.61.1 lib/rubocop/cop/mixin/target_ruby_version.rb