Class: Laborantin::Metaprog::Dependencies::Dependency

Inherits:
Object
  • Object
show all
Includes:
Laborantin::Metaprog::Describable, Verifications
Defined in:
lib/laborantin/core/dependencies.rb

Instance Attribute Summary collapse

Attributes included from Verifications::InstanceMethods

#verifications

Attributes included from Laborantin::Metaprog::Describable

#description

Instance Method Summary collapse

Methods included from Verifications::InstanceMethods

#valid?, #verify

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

#nameObject (readonly)

Returns the value of attribute name.



10
11
12
# File 'lib/laborantin/core/dependencies.rb', line 10

def name
  @name
end