Class: PuppetStrings::Markdown::PuppetTask
- Inherits:
-
Base
- Object
- Base
- PuppetStrings::Markdown::PuppetTask
show all
- Defined in:
- lib/puppet-strings/markdown/puppet_task.rb
Instance Method Summary
collapse
Methods inherited from Base
#defaults, #enums, #enums_for_param, #examples, #link, #name, #options, #options_for_param, #params, #private?, #raises, #return_type, #see, #since, #text, #toc_info, #value_string, #word_wrap
Constructor Details
#initialize(registry) ⇒ PuppetTask
Returns a new instance of PuppetTask.
7
8
9
10
11
|
# File 'lib/puppet-strings/markdown/puppet_task.rb', line 7
def initialize(registry)
@template = 'puppet_task.erb'
@registry = registry
super(registry, 'task')
end
|
Instance Method Details
21
22
23
|
# File 'lib/puppet-strings/markdown/puppet_task.rb', line 21
def input_method
@registry[:input_method]
end
|
#render ⇒ Object
13
14
15
|
# File 'lib/puppet-strings/markdown/puppet_task.rb', line 13
def render
super(@template)
end
|
#supports_noop ⇒ Object
17
18
19
|
# File 'lib/puppet-strings/markdown/puppet_task.rb', line 17
def supports_noop
@registry[:supports_noop]
end
|