[rubygems/rubygems] Define a few inspect
methods to help debugging
https://github.com/rubygems/rubygems/commit/ad26ccde38
This commit is contained in:
parent
0914da52e0
commit
b56aacba78
@ -120,6 +120,10 @@ module Bundler
|
|||||||
@remote_specification = spec
|
@remote_specification = spec
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def inspect
|
||||||
|
"#<#{self.class} @name=\"#{name}\" (#{full_name.delete_prefix("#{name}-")})>"
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def _remote_specification
|
def _remote_specification
|
||||||
|
@ -161,6 +161,10 @@ module Bundler
|
|||||||
search
|
search
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def inspect
|
||||||
|
"#<#{self.class} @name=\"#{name}\" (#{full_name.delete_prefix("#{name}-")})>"
|
||||||
|
end
|
||||||
|
|
||||||
def to_s
|
def to_s
|
||||||
lock_name
|
lock_name
|
||||||
end
|
end
|
||||||
|
@ -116,6 +116,10 @@ module Bundler
|
|||||||
stub.raw_require_paths
|
stub.raw_require_paths
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def inspect
|
||||||
|
"#<#{self.class} @name=\"#{name}\" (#{full_name.delete_prefix("#{name}-")})>"
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def _remote_specification
|
def _remote_specification
|
||||||
|
Loading…
x
Reference in New Issue
Block a user