diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2019-03-24 15:14:20 +0200 |
---|---|---|
committer | Kyrylo Silin <silin@kyrylo.org> | 2019-03-24 15:14:20 +0200 |
commit | 5ceb7ff04a328ff0da1460feb7715be0fd7fcb5b (patch) | |
tree | 0c8db1de4aca6c99590f95e78c02741fb7440328 /lib | |
parent | 3b136119f44924f44955c0fe162cdbd74f48febd (diff) | |
download | pry-5ceb7ff04a328ff0da1460feb7715be0fd7fcb5b.tar.gz |
rubocop: fix Naming/MemoizedInstanceVariableName offences
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pry/wrapped_module/candidate.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/wrapped_module/candidate.rb b/lib/pry/wrapped_module/candidate.rb index 8351169a..a84e7ba3 100644 --- a/lib/pry/wrapped_module/candidate.rb +++ b/lib/pry/wrapped_module/candidate.rb @@ -117,7 +117,7 @@ class Pry # @return [Array] The source location of the last method in this # candidate's module definition. def last_method_source_location - @end_method_source_location ||= method_candidates[@rank].last.source_location + @last_method_source_location ||= method_candidates[@rank].last.source_location end # Return the number of lines between the start of the class definition and |