Permalink
Browse files

Add basic documentation for bin_path and bundle_path

  • Loading branch information...
1 parent 720b40b commit b4f4437b1dea20d781400fd6d215fb12dc4ba86f @radar radar committed May 21, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/bundler.rb
View
@@ -87,10 +87,12 @@ def ui
@ui ||= UI.new
end
+ # Returns absolute path of where gems are installed on the filesystem.
def bundle_path
@bundle_path ||= Pathname.new(settings.path).expand_path(root)
end
+ # Returns absolute location of where binstubs are installed to.
def bin_path
@bin_path ||= begin
path = settings[:bin] || "bin"

0 comments on commit b4f4437

Please sign in to comment.