# File lib/bundler/dep_proxy.rb, line 6 def initialize(dep, platform) @dep, @__platform, @required_by = dep, platform, [] end
# File lib/bundler/dep_proxy.rb, line 14 def ==(o) dep == o.dep && __platform == o.__platform end
# File lib/bundler/dep_proxy.rb, line 10 def hash @hash ||= dep.hash end
# File lib/bundler/dep_proxy.rb, line 24 def name @dep.name end
# File lib/bundler/dep_proxy.rb, line 28 def requirement @dep.requirement end
# File lib/bundler/dep_proxy.rb, line 32 def to_s "#{name} (#{requirement}) #{__platform}" end
# File lib/bundler/dep_proxy.rb, line 20 def type @dep.type end
# File lib/bundler/dep_proxy.rb, line 38 def method_missing(*args) @dep.send(*args) end