diff options
author | Erik Michaels-Ober <sferik@gmail.com> | 2011-12-05 18:08:42 -0800 |
---|---|---|
committer | Erik Michaels-Ober <sferik@gmail.com> | 2011-12-05 18:08:42 -0800 |
commit | 29a9b29c610968b459a9bd76e5e7d21a9fc9e502 (patch) | |
tree | 4e8da6fa903513925928c420dbd98d8e1f53c79f | |
parent | 95e57b3d60b138b4284c2ac340409ae01f1671e3 (diff) | |
parent | 0045ee152ada4aa2f74b5da3b4b47dfd3ccc7e08 (diff) | |
download | bundler-29a9b29c610968b459a9bd76e5e7d21a9fc9e502.tar.gz |
Merge pull request #1578 from tenderlove/mm
name and requirement methods are needed, so define them to avoid method_missing
-rw-r--r-- | lib/bundler/dep_proxy.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/bundler/dep_proxy.rb b/lib/bundler/dep_proxy.rb index a92282ba99..bc810dc58c 100644 --- a/lib/bundler/dep_proxy.rb +++ b/lib/bundler/dep_proxy.rb @@ -21,6 +21,14 @@ module Bundler @dep.type end + def name + @dep.name + end + + def requirement + @dep.requirement + end + def to_s "#{name} (#{requirement}) #{__platform}" end |