Class: Dependency
- Inherits:
-
Object
- Object
- Dependency
- Defined in:
- lib/dependency.rb
Instance Attribute Summary collapse
-
#Name ⇒ Object
Returns the value of attribute Name.
-
#Version ⇒ Object
Returns the value of attribute Version.
Instance Method Summary collapse
-
#initialize(name, version) ⇒ Dependency
constructor
A new instance of Dependency.
Constructor Details
#initialize(name, version) ⇒ Dependency
Returns a new instance of Dependency.
39 40 41 42 |
# File 'lib/dependency.rb', line 39 def initialize(name, version) @Name = name @Version = version end |
Instance Attribute Details
#Name ⇒ Object
Returns the value of attribute Name.
37 38 39 |
# File 'lib/dependency.rb', line 37 def Name @Name end |
#Version ⇒ Object
Returns the value of attribute Version.
37 38 39 |
# File 'lib/dependency.rb', line 37 def Version @Version end |