Flowdock
method

pinned_requirement

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: Parser
pinned_requirement(name) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/request_set/lockfile/parser.rb, line 329
    def pinned_requirement name # :nodoc:
      requirement = Gem::Dependency.new name
      specification = @set.sets.flat_map { |set|
        set.find_all(requirement)
      }.compact.first

      specification && specification.version
    end
Register or log in to add new notes.