Method: RuboCop::TargetRuby#source
- Defined in:
- lib/rubocop/target_ruby.rb
permalink #source ⇒ Object
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.
277 278 279 |
# File 'lib/rubocop/target_ruby.rb', line 277 def source @source ||= SOURCES.each.lazy.map { |c| c.new(@config) }.detect(&:version) end |