Class: Distil::Task
Constant Summary
collapse
- @@tasks =
[]
Instance Attribute Summary
Attributes inherited from Configurable
#options
Class Method Summary
collapse
Instance Method Summary
collapse
#get_option, #get_options, option
Constructor Details
#initialize(options, target) ⇒ Task
Returns a new instance of Task.
7
8
9
10
|
# File 'lib/distil/task.rb', line 7
def initialize(options, target)
@target= target
super(options, target)
end
|
Class Method Details
.inherited(subclass) ⇒ Object
21
22
23
|
# File 'lib/distil/task.rb', line 21
def self.inherited(subclass)
@@tasks << subclass
end
|
.tasks ⇒ Object
25
26
27
|
# File 'lib/distil/task.rb', line 25
def self.tasks
@@tasks
end
|
Instance Method Details
#find_files ⇒ Object
33
34
35
|
# File 'lib/distil/task.rb', line 33
def find_files
[]
end
|
#handles_file?(file) ⇒ Boolean
29
30
31
|
# File 'lib/distil/task.rb', line 29
def handles_file?(file)
false
end
|
#include_file(file) ⇒ Object
37
38
|
# File 'lib/distil/task.rb', line 37
def include_file(file)
end
|
#process_files(files) ⇒ Object
40
41
|
# File 'lib/distil/task.rb', line 40
def process_files(files)
end
|
#project ⇒ Object
12
13
14
|
# File 'lib/distil/task.rb', line 12
def project
target.project
end
|
#target ⇒ Object
16
17
18
|
# File 'lib/distil/task.rb', line 16
def target
@target
end
|