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, #examples, #link, #name, #options, #options_for_param, #params, #private?, #raises, #return_type, #see, #since, #text, #toc_info, #value_string
Constructor Details
#initialize(registry) ⇒ PuppetTask
Returns a new instance of PuppetTask.
5
6
7
8
9
|
# File 'lib/puppet-strings/markdown/puppet_task.rb', line 5
def initialize(registry)
@template = 'puppet_task.erb'
@registry = registry
super(registry, 'task')
end
|
Instance Method Details
19
20
21
|
# File 'lib/puppet-strings/markdown/puppet_task.rb', line 19
def input_method
@registry[:input_method]
end
|
#render ⇒ Object
11
12
13
|
# File 'lib/puppet-strings/markdown/puppet_task.rb', line 11
def render
super(@template)
end
|
#supports_noop ⇒ Object
15
16
17
|
# File 'lib/puppet-strings/markdown/puppet_task.rb', line 15
def supports_noop
@registry[:supports_noop]
end
|