summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKyrylo Silin <silin@kyrylo.org>2019-03-24 15:14:20 +0200
committerKyrylo Silin <silin@kyrylo.org>2019-03-24 15:14:20 +0200
commit5ceb7ff04a328ff0da1460feb7715be0fd7fcb5b (patch)
tree0c8db1de4aca6c99590f95e78c02741fb7440328 /lib
parent3b136119f44924f44955c0fe162cdbd74f48febd (diff)
downloadpry-5ceb7ff04a328ff0da1460feb7715be0fd7fcb5b.tar.gz
rubocop: fix Naming/MemoizedInstanceVariableName offences
Diffstat (limited to 'lib')
-rw-r--r--lib/pry/wrapped_module/candidate.rb2
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