}
@Override
protected void deploy(DeploymentUnit unit, VirtualFile file, String parentPath, String relativePath) throws DeploymentUnitProcessingException {
String rubyClassName = StringUtils.pathToClassName( relativePath, ".rb" );
TaskMetaData taskMetaData = existingTaskMetaData( unit, rubyClassName );
if (taskMetaData == null) {
taskMetaData = new TaskMetaData();
unit.addToAttachmentList( TaskMetaData.ATTACHMENTS_KEY, taskMetaData );
}
String simpleLocation = parentPath + relativePath.substring( 0, relativePath.length() - 3 );
taskMetaData.setLocation( simpleLocation );
taskMetaData.setRubyClassName( rubyClassName );
}