In Files

  • bundler/lockfile_generator.rb

Class/Module Index [+]

Quicksearch

Bundler::LockfileGenerator

Attributes

definition[R]
out[R]

Public Class Methods

generate(definition) click to toggle source
 
               # File bundler/lockfile_generator.rb, line 14
def self.generate(definition)
  new(definition).generate!
end
            
new(definition) click to toggle source

@private

 
               # File bundler/lockfile_generator.rb, line 9
def initialize(definition)
  @definition = definition
  @out = String.new
end
            

Public Instance Methods

generate!() click to toggle source
 
               # File bundler/lockfile_generator.rb, line 18
def generate!
  add_sources
  add_platforms
  add_dependencies
  add_locked_ruby_version
  add_bundled_with

  out
end