Flowdock
method

lockfile_version

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: BundlerVersionFinder
lockfile_version() private

No documentation

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

Hide source
# File lib/rubygems/bundler_version_finder.rb, line 64
  def self.lockfile_version
    return unless lockfile = lockfile_contents
    lockfile, contents = lockfile
    lockfile ||= "lockfile"
    regexp = /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/
    return unless contents =~ regexp
    [$1, lockfile]
  end
Register or log in to add new notes.