Class: Roast::Resources::NoneResource
Overview
Resource implementation for workflows with no target (targetless workflows)
Instance Attribute Summary
Attributes inherited from BaseResource
#target
Instance Method Summary
collapse
#initialize
Instance Method Details
#contents ⇒ Object
16
17
18
|
# File 'lib/roast/resources/none_resource.rb', line 16
def contents
nil
end
|
#exists? ⇒ Boolean
11
12
13
14
|
# File 'lib/roast/resources/none_resource.rb', line 11
def exists?
true
end
|
#name ⇒ Object
20
21
22
|
# File 'lib/roast/resources/none_resource.rb', line 20
def name
"Targetless Resource"
end
|
#process ⇒ Object
7
8
9
|
# File 'lib/roast/resources/none_resource.rb', line 7
def process
nil
end
|
#type ⇒ Object
24
25
26
|
# File 'lib/roast/resources/none_resource.rb', line 24
def type
:none
end
|