class Bundler::Dsl

def to_definition(lockfile, unlock)

def to_definition(lockfile, unlock)
  @sources << @rubygems_source unless @sources.include?(@rubygems_source)
  Definition.new(lockfile, @dependencies, @sources, unlock, @ruby_version)
end