Class: Avm::Launcher::Project
Instance Attribute Summary collapse
-
#instances ⇒ Object
readonly
Returns the value of attribute instances.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, instances) ⇒ Project
constructor
A new instance of Project.
- #to_s ⇒ Object
Constructor Details
#initialize(name, instances) ⇒ Project
Returns a new instance of Project.
8 9 10 11 |
# File 'lib/avm/launcher/project.rb', line 8 def initialize(name, instances) @name = name @instances = instances.to_a end |
Instance Attribute Details
#instances ⇒ Object (readonly)
Returns the value of attribute instances.
6 7 8 |
# File 'lib/avm/launcher/project.rb', line 6 def instances @instances end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/avm/launcher/project.rb', line 6 def name @name end |
Instance Method Details
#to_s ⇒ Object
13 14 15 |
# File 'lib/avm/launcher/project.rb', line 13 def to_s name end |