diff options
author | Hemant Kumar <hemant@codemancers.com> | 2013-07-21 19:43:03 -0700 |
---|---|---|
committer | Hemant Kumar <hemant@codemancers.com> | 2013-07-21 19:43:03 -0700 |
commit | 83e631bb81b278bdea802ee6129510f4712493d3 (patch) | |
tree | 8802c7e647a1081cee83c75a8fe633ebadbc76a8 /lib/bundler.rb | |
parent | bdec9eacf1692532c9b8d7d62b444fda85688ff0 (diff) | |
parent | c0fbe04ddc95963c3e52f1634a335baf49081917 (diff) | |
download | bundler-83e631bb81b278bdea802ee6129510f4712493d3.tar.gz |
Merge pull request #2541 from code-mancers/add-definition-docs
Add some documentation about definition class
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 cb81c114..ea5673a3 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -137,6 +137,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 |