Permalink
Browse files

Remove Ruby warning

  • Loading branch information...
1 parent 63199dc commit 89f64b8c6d84edd78fd048474d964fb1ea9edc59 @lsegal committed Aug 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/yard/core_ext/file.rb
@@ -22,7 +22,7 @@ def self.relative_path(from, to)
break if from[0] != to[0]
from.shift; to.shift
end
- fname = from.pop
+ from.pop
join(*(from.map { RELATIVE_PARENTDIR } + to))
end

0 comments on commit 89f64b8

Please sign in to comment.