diff options
author | Hemant Kumar <gethemant@gmail.com> | 2013-07-12 14:03:08 +0530 |
---|---|---|
committer | Hemant Kumar <gethemant@gmail.com> | 2013-07-16 23:36:32 +0530 |
commit | c0fbe04ddc95963c3e52f1634a335baf49081917 (patch) | |
tree | e1080f08472bf44603d81178022ffba5806643a4 /lib/bundler.rb | |
parent | ea4ae196a3c519781802a050248c6929ef4229b4 (diff) | |
download | bundler-c0fbe04ddc95963c3e52f1634a335baf49081917.tar.gz |
Add some documentation about definition class
[ci skip]
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r-- | lib/bundler.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index 969ad8c9..860679fd 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -136,6 +136,11 @@ module Bundler Bundler::Environment.new(root, definition) end + # Returns an instance of Bundler::Definition for given Gemfile and lockfile + # + # @param unlock [Hash, Boolean, nil] Gems that have been requested + # to be updated or true if all gems should be updated + # @return [Bundler::Definition] def definition(unlock = nil) @definition = nil if unlock @definition ||= begin |