class Bundler::Molinillo::Resolver::Resolution::PossibilitySet

Parent:
Object

Public Instance Methods

latest_version() Show source
# File lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb, line 50
def latest_version
  possibilities.last
end

@return [Object] most up-to-date dependency in the possibility set

to_s() Show source
# File lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb, line 45
def to_s
  "[#{possibilities.join(', ')}]"
end

String representation of the possibility set, for debugging

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.