Method: Bundler::Source::Rubygems#can_lock?

Defined in:
lib/bundler/source/rubygems.rb

#can_lock?(spec) ⇒ Boolean

Returns:

  • (Boolean)

94
95
96
97
# File 'lib/bundler/source/rubygems.rb', line 94

def can_lock?(spec)
  return super unless multiple_remotes?
  include?(spec.source)
end