Permalink
Browse files

Merge pull request #347 from Undev/master

Minor change on autoload
  • Loading branch information...
2 parents 06ecc71 + 3230552 commit 9890f909a5ac343466f7f764dabb0468769e2a23 @lsegal committed Jun 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/yard/autoload.rb
@@ -1,5 +1,5 @@
# @private
-def __p(*path) File.join(YARD::ROOT, 'yard', *path) end
+def __p(path) File.join(YARD::ROOT, 'yard', *path.split('/')); end
module YARD
module CLI # Namespace for command-line interface components

0 comments on commit 9890f90

Please sign in to comment.