Skip to content

Commit 01c3354

Browse files
author
travis
committed
removed redundant self reference.
1 parent 937cc64 commit 01c3354

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/pathname_redmine_version.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
# Shortcut and readable method name
12
class Pathname
23
def redmine_version
3-
self.basename.to_s[0..4]
4+
basename.to_s[0..4]
45
end
56
end

0 commit comments

Comments
 (0)