Class: RuboCop::TargetRuby::BundlerLockFile

Inherits:
Source
  • Object
show all
Defined in:
lib/rubocop/target_ruby.rb

Overview

The lock file of Bundler may identify the target ruby version.

Instance Attribute Summary

Attributes inherited from Source

#version

Instance Method Summary collapse

Methods inherited from Source

#initialize, #to_s

Constructor Details

This class inherits a constructor from RuboCop::TargetRuby::Source

Instance Method Details

#nameObject



69
70
71
# File 'lib/rubocop/target_ruby.rb', line 69

def name
  "`#{bundler_lock_file_path}`"
end