Class: Gem::Validator::ErrorData
- Inherits:
-
Struct
- Object
- Struct
- Gem::Validator::ErrorData
- Defined in:
- lib/rubygems/validator.rb
Overview
Describes a problem with a file in a gem.
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#problem ⇒ Object
Returns the value of attribute problem.
Instance Method Summary collapse
-
#<=>(other) ⇒ Object
:nodoc:.
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path
41 42 43 |
# File 'lib/rubygems/validator.rb', line 41 def path @path end |
#problem ⇒ Object
Returns the value of attribute problem
41 42 43 |
# File 'lib/rubygems/validator.rb', line 41 def problem @problem end |
Instance Method Details
#<=>(other) ⇒ Object
:nodoc:
42 43 44 45 46 |
# File 'lib/rubygems/validator.rb', line 42 def <=>(other) # :nodoc: return nil unless self.class === other [path, problem] <=> [other.path, other.problem] end |