123456789_123456789_123456789_123456789_123456789_

Class: RuboCop::TargetRuby::Source Private

Do not use. This class is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
RuboCop::TargetRuby::BundlerLockFile, RuboCop::TargetRuby::Default, RuboCop::TargetRuby::GemspecFile, RuboCop::TargetRuby::RuboCopConfig, RuboCopEnvVar, RuboCop::TargetRuby::RubyVersionFile, RuboCop::TargetRuby::ToolVersionsFile
Inherits: Object
Defined in: lib/rubocop/target_ruby.rb

Overview

A place where information about a target ruby version is found.

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#name (readonly)

[ GitHub ]

  
# File 'lib/rubocop/target_ruby.rb', line 25

attr_reader :version, :name

#version (readonly)

[ GitHub ]

  
# File 'lib/rubocop/target_ruby.rb', line 25

attr_reader :version, :name

Instance Method Details

#to_s

[ GitHub ]

  
# File 'lib/rubocop/target_ruby.rb', line 32

def to_s
  name
end