Class: RuboCop::TargetRuby::BundlerLockFile Private

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

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

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



108
109
110
# File 'lib/rubocop/target_ruby.rb', line 108

def name
  "`#{bundler_lock_file_path}`"
end