Class: EacLauncher::Project

Inherits:
Object show all
Defined in:
lib/eac_launcher/project.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#instancesObject (readonly)

Returns the value of attribute instances.



5
6
7
# File 'lib/eac_launcher/project.rb', line 5

def instances
  @instances
end

#nameObject (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_sObject



12
13
14
# File 'lib/eac_launcher/project.rb', line 12

def to_s
  name
end