Class: LockJar::Domain::Artifact
- Inherits:
-
Object
- Object
- LockJar::Domain::Artifact
- Includes:
- Comparable
- Defined in:
- lib/lock_jar/domain/artifact.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
25 26 27 |
# File 'lib/lock_jar/domain/artifact.rb', line 25 def type @type end |
Instance Method Details
#<=>(other) ⇒ Object
27 28 29 30 31 |
# File 'lib/lock_jar/domain/artifact.rb', line 27 def <=>(other) return to_urn <=> other.to_urn if other.is_a? Artifact to_urn <=> other.to_s end |
#resolvable? ⇒ Boolean
33 34 35 |
# File 'lib/lock_jar/domain/artifact.rb', line 33 def resolvable? true end |