Class: FruityBuilder::IOS::Helper
- Inherits:
-
Object
- Object
- FruityBuilder::IOS::Helper
- Defined in:
- lib/fruity_builder.rb
Instance Attribute Summary collapse
-
#build ⇒ Object
Handle for the BuildProperties class.
-
#path ⇒ Object
Returns the value of attribute path.
-
#plist ⇒ Object
Returns the value of attribute plist.
-
#project ⇒ Object
Returns the value of attribute project.
-
#workspace ⇒ Object
Returns the value of attribute workspace.
-
#xcode ⇒ Object
Handle for the XCodeBuild class.
Instance Method Summary collapse
- #has_project? ⇒ Boolean
-
#initialize(path) ⇒ Helper
constructor
A new instance of Helper.
Constructor Details
#initialize(path) ⇒ Helper
Returns a new instance of Helper.
25 26 27 |
# File 'lib/fruity_builder.rb', line 25 def initialize(path) @path = path end |
Instance Attribute Details
#build ⇒ Object
Handle for the BuildProperties class
54 55 56 |
# File 'lib/fruity_builder.rb', line 54 def build @build end |
#path ⇒ Object
Returns the value of attribute path.
23 24 25 |
# File 'lib/fruity_builder.rb', line 23 def path @path end |
#plist ⇒ Object
Returns the value of attribute plist.
23 24 25 |
# File 'lib/fruity_builder.rb', line 23 def plist @plist end |
#project ⇒ Object
Returns the value of attribute project.
23 24 25 |
# File 'lib/fruity_builder.rb', line 23 def project @project end |
#workspace ⇒ Object
Returns the value of attribute workspace.
23 24 25 |
# File 'lib/fruity_builder.rb', line 23 def workspace @workspace end |
#xcode ⇒ Object
Handle for the XCodeBuild class
62 63 64 |
# File 'lib/fruity_builder.rb', line 62 def xcode @xcode end |
Instance Method Details
#has_project? ⇒ Boolean
29 30 31 32 |
# File 'lib/fruity_builder.rb', line 29 def has_project? return true if get_projects.count > 0 false end |