Project Accessor#

class ProjectAccessor#

Class for accessing a project from ruby.

target(name)#

Get a target from defined in the project.

Parameters:
  • name – The target name

Return type:

TargetAccessor

build_dir()#

Returns the project’s build directory.

see build_dir

Return type:

String

base_dir()#

Returns the project’s base directory.

see Project base_dir parameter

Return type:

String

name()#

Returns the project’s name.

Return type:

String

project(name)#

Get the ProjectAccessor for a project by its name.

Parameters:
  • name – The name of the project.

Return type:

ProjectAccessor

current_project()#

Get the ProjectAccessor for the current project. The current project is always the one last created, usually the project the user is working on.

Return type:

ProjectAccessor