summaryrefslogtreecommitdiff
path: root/lib/bundler/remote_specification.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-05-16 22:44:48 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-06-02 16:51:13 -0500
commitfbd7a17f80824d9563b3fe561e69e80625ccf966 (patch)
tree344bb39f95636cf49c436d591299b38d90ee3c8f /lib/bundler/remote_specification.rb
parentec276c318319799da37831a8c57c38797c143a84 (diff)
downloadbundler-fbd7a17f80824d9563b3fe561e69e80625ccf966.tar.gz
[RemoteSpecification] Add #to_s
Diffstat (limited to 'lib/bundler/remote_specification.rb')
-rw-r--r--lib/bundler/remote_specification.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/remote_specification.rb b/lib/bundler/remote_specification.rb
index 235d5531fa..6a02897c63 100644
--- a/lib/bundler/remote_specification.rb
+++ b/lib/bundler/remote_specification.rb
@@ -66,6 +66,10 @@ module Bundler
[@name, @version, @platform == Gem::Platform::RUBY ? -1 : 1]
end
+ def to_s
+ "#<#{self.class} name=#{name} version=#{version} platform=#{platform}>"
+ end
+
private
def _remote_specification