class Bundler::DepProxy - bundler-1.6.9 Documentation

# class Bundler::DepProxy

### Attributes

__platform[R]
dep[R]
required_by[R]

### Public Class Methods

new(dep, platform) click to toggle source

    # File lib/bundler/dep_proxy.rb, line 6
    def initialize(dep, platform)
      @dep, @__platform, @required_by = dep, platform, []
    end

### Public Instance Methods

==(o) click to toggle source

    # File lib/bundler/dep_proxy.rb, line 14
    def ==(o)
      dep == o.dep && __platform == o.__platform
    end

Also aliased as: eql?
eql?(o)
Alias for: ==
hash() click to toggle source

    # File lib/bundler/dep_proxy.rb, line 10
    def hash
      @hash ||= dep.hash
    end

name() click to toggle source

    # File lib/bundler/dep_proxy.rb, line 24
    def name
      @dep.name
    end

requirement() click to toggle source

    # File lib/bundler/dep_proxy.rb, line 28
    def requirement
      @dep.requirement
    end

to_s() click to toggle source

    # File lib/bundler/dep_proxy.rb, line 32
    def to_s
      "#{name} (#{requirement}) #{__platform}"
    end

type() click to toggle source

    # File lib/bundler/dep_proxy.rb, line 20
    def type
      @dep.type
    end

### Private Instance Methods

method_missing(*args) click to toggle source

    # File lib/bundler/dep_proxy.rb, line 38
    def method_missing(*args)
      @dep.send(*args)
    end