Class: Ive::Xcode
- Inherits:
-
Object
- Object
- Ive::Xcode
- Defined in:
- lib/ive/xcode.rb
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/ive/xcode.rb', line 5 def config return nil unless Ive.config.valid? project.target(Ive.config.target).config(Ive.config.configuration) #rescue Exception => e #nil end |
#project ⇒ Object
13 14 15 |
# File 'lib/ive/xcode.rb', line 13 def project @project ||= ::Xcode.project self.project_path end |
#project_path ⇒ Object
17 18 19 |
# File 'lib/ive/xcode.rb', line 17 def project_path @project_path ||= Dir.glob("#{Ive.path}/*.xcodeproj").first end |