Class: EacLauncher::Project

Inherits:
Object
  • 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.



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

#instancesObject (readonly)

Returns the value of attribute instances.



3
4
5
# File 'lib/eac_launcher/project.rb', line 3

def instances
  @instances
end

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



10
11
12
# File 'lib/eac_launcher/project.rb', line 10

def to_s
  name
end