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:
- base_dir()#
Returns the project’s base directory.
see
Projectbase_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:
- 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: