Method: Gem::Dependency#inspect
- Defined in:
- lib/rubygems/dependency.rb
#inspect ⇒ Object
:nodoc:
75 76 77 78 79 80 81 |
# File 'lib/rubygems/dependency.rb', line 75 def inspect # :nodoc: if prerelease? format("<%s type=%p name=%p requirements=%p prerelease=ok>", self.class, type, name, requirement.to_s) else format("<%s type=%p name=%p requirements=%p>", self.class, type, name, requirement.to_s) end end |