Parent

Bundler::Environment

Attributes

root[R]

Public Class Methods

new(root, definition) click to toggle source
    # File lib/bundler/environment.rb, line 5
 5:     def initialize(root, definition)
 6:       @root = root
 7:       @definition = definition
 8: 
 9:       env_file = Bundler.app_config_path.join('environment.rb')
10:       env_file.rmtree if env_file.exist?
11:     end

Public Instance Methods

current_dependencies() click to toggle source
    # File lib/bundler/environment.rb, line 34
34:     def current_dependencies
35:       @definition.current_dependencies
36:     end
dependencies() click to toggle source
    # File lib/bundler/environment.rb, line 30
30:     def dependencies
31:       @definition.dependencies
32:     end
index() click to toggle source

TODO: Remove this method. It’s used in cli.rb still

    # File lib/bundler/environment.rb, line 18
18:     def index
19:       @definition.index
20:     end
inspect() click to toggle source
    # File lib/bundler/environment.rb, line 13
13:     def inspect
14:       @definition.to_lock.inspect
15:     end
lock() click to toggle source
    # File lib/bundler/environment.rb, line 38
38:     def lock
39:       @definition.lock(Bundler.default_lockfile)
40:     end
requested_specs() click to toggle source
    # File lib/bundler/environment.rb, line 22
22:     def requested_specs
23:       @definition.requested_specs
24:     end
specs() click to toggle source
    # File lib/bundler/environment.rb, line 26
26:     def specs
27:       @definition.specs
28:     end
update(*gems) click to toggle source
    # File lib/bundler/environment.rb, line 42
42:     def update(*gems)
43:       # Nothing
44:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.