class Bundler::Runtime

def lock(opts = {})

def lock(opts = {})
  return if @definition.nothing_changed? && !@definition.unlocking?
  @definition.lock(Bundler.default_lockfile, opts[:preserve_unknown_sections])
end