Class: EacLauncher::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.
7 8 9 10 |
# File 'lib/eac_launcher/project.rb', line 7 def initialize(name, instances) @name = name @instances = instances.to_a end |
Instance Attribute Details
#instances ⇒ Object (readonly)
Returns the value of attribute instances.
5 6 7 |
# File 'lib/eac_launcher/project.rb', line 5 def instances @instances end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/eac_launcher/project.rb', line 5 def name @name end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/eac_launcher/project.rb', line 12 def to_s name end |