Class: Laborantin::Metaprog::Dependencies::Dependency
- Inherits:
-
Object
- Object
- Laborantin::Metaprog::Dependencies::Dependency
- Includes:
- Laborantin::Metaprog::Describable, Verifications
- Defined in:
- lib/laborantin/core/dependencies.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes included from Verifications::InstanceMethods
Attributes included from Laborantin::Metaprog::Describable
Instance Method Summary collapse
-
#initialize(name) ⇒ Dependency
constructor
A new instance of Dependency.
Methods included from Verifications::InstanceMethods
Constructor Details
#initialize(name) ⇒ Dependency
Returns a new instance of Dependency.
11 12 13 |
# File 'lib/laborantin/core/dependencies.rb', line 11 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
10 11 12 |
# File 'lib/laborantin/core/dependencies.rb', line 10 def name @name end |