Class: Halite::Dependencies::Dependency
- Inherits:
-
Struct
- Object
- Struct
- Halite::Dependencies::Dependency
- Defined in:
- lib/halite/dependencies.rb
Overview
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#requirement ⇒ Object
Returns the value of attribute requirement.
-
#spec ⇒ Object
Returns the value of attribute spec.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
30 31 32 |
# File 'lib/halite/dependencies.rb', line 30 def name @name end |
#requirement ⇒ Object
Returns the value of attribute requirement
30 31 32 |
# File 'lib/halite/dependencies.rb', line 30 def requirement @requirement end |
#spec ⇒ Object
Returns the value of attribute spec
30 31 32 |
# File 'lib/halite/dependencies.rb', line 30 def spec @spec end |
#type ⇒ Object
Returns the value of attribute type
30 31 32 |
# File 'lib/halite/dependencies.rb', line 30 def type @type end |
Instance Method Details
#==(other) ⇒ Object
31 32 33 34 35 |
# File 'lib/halite/dependencies.rb', line 31 def ==(other) self.name == other.name && \ self.requirement == other.requirement && \ self.type == other.type end |