Class: Yolo::Tasks::BaseTask

Inherits:
XcodeBuild::Tasks::BuildTask
  • Object
show all
Defined in:
lib/yolo/tasks/base_task.rb

Overview

A base task class to subclass from when creating tasks

Author:

  • Alex Fish

Instance Method Summary collapse

Instance Method Details

#defineObject

Defines available rake tasks



24
25
# File 'lib/yolo/tasks/base_task.rb', line 24

def define
end

#nameString

The name to use for folders etc taken from the scheme or target name

Returns:

  • (String)

    a name



17
18
19
# File 'lib/yolo/tasks/base_task.rb', line 17

def name
  self.scheme ? self.scheme : self.target
end