Class: Rubygems::XcodeprojGenerator::Project

Inherits:
Object
  • Object
show all
Defined in:
lib/rubygems/xcodeproj_generator/project.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil) ⇒ Project

Returns a new instance of Project.



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

def initialize(name = nil)
  @name = name
end

Instance Attribute Details

#build_commandObject

Returns the value of attribute build_command.



8
9
10
# File 'lib/rubygems/xcodeproj_generator/project.rb', line 8

def build_command
  @build_command
end

#nameObject

Returns the value of attribute name.



8
9
10
# File 'lib/rubygems/xcodeproj_generator/project.rb', line 8

def name
  @name
end

Instance Method Details

#pathObject



14
15
16
# File 'lib/rubygems/xcodeproj_generator/project.rb', line 14

def path
  project.path
end

#saveObject



18
19
20
21
22
23
# File 'lib/rubygems/xcodeproj_generator/project.rb', line 18

def save
  configure_header_search_paths
  configure_groups
  configure_build_phase
  project.save
end