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