Class: FruityBuilder::IOS::Helper

Inherits:
Object
  • Object
show all
Defined in:
lib/fruity_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#buildObject

Handle for the BuildProperties class



54
55
56
# File 'lib/fruity_builder.rb', line 54

def build
  @build
end

#pathObject

Returns the value of attribute path.



23
24
25
# File 'lib/fruity_builder.rb', line 23

def path
  @path
end

#plistObject

Returns the value of attribute plist.



23
24
25
# File 'lib/fruity_builder.rb', line 23

def plist
  @plist
end

#projectObject

Returns the value of attribute project.

Raises:



23
24
25
# File 'lib/fruity_builder.rb', line 23

def project
  @project
end

#workspaceObject

Returns the value of attribute workspace.



23
24
25
# File 'lib/fruity_builder.rb', line 23

def workspace
  @workspace
end

#xcodeObject

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

Returns:

  • (Boolean)


29
30
31
32
# File 'lib/fruity_builder.rb', line 29

def has_project?
  return true if get_projects.count > 0
  false
end