Class: ProjectInfo
- Inherits:
-
Object
- Object
- ProjectInfo
- Defined in:
- lib/ModelGenerator/Project.rb
Instance Attribute Summary collapse
-
#project ⇒ Object
readonly
Returns the value of attribute project.
-
#project_path ⇒ Object
readonly
Returns the value of attribute project_path.
Instance Method Summary collapse
Instance Attribute Details
#project ⇒ Object (readonly)
Returns the value of attribute project.
5 6 7 |
# File 'lib/ModelGenerator/Project.rb', line 5 def project @project end |
#project_path ⇒ Object (readonly)
Returns the value of attribute project_path.
4 5 6 |
# File 'lib/ModelGenerator/Project.rb', line 4 def project_path @project_path end |
Instance Method Details
#organization ⇒ Object
19 20 21 |
# File 'lib/ModelGenerator/Project.rb', line 19 def organization end |
#seek_xcodeproj(cmd_path) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/ModelGenerator/Project.rb', line 7 def seek_xcodeproj(cmd_path) Dir.foreach(cmd_path) do |filename| if File.extname(filename)==".xcodeproj" @project_path=filename @project=Xcodeproj::Project.open(@project_path) puts @project_path puts @Project.build_configuration_list end end end |