Method: Bundler::Dsl#to_definition

Defined in:
lib/bundler/dsl.rb

#to_definition(lockfile, unlock) ⇒ Object

[View source]

177
178
179
180
# File 'lib/bundler/dsl.rb', line 177

def to_definition(lockfile, unlock)
  check_primary_source_safety
  Definition.new(lockfile, @dependencies, @sources, unlock, @ruby_version, @optional_groups, @gemfiles)
end