Sha256: 7b2fe36dd2fb323a0a487a691b4f847cc8d52bcd2fc12f6d80c7d4a10715f13e

Contents?: true

Size: 409 Bytes

Versions: 7

Compression:

Stored size: 409 Bytes

Contents

require 'puppet-strings/markdown/base'

module PuppetStrings::Markdown
  class PuppetTask < Base
    def initialize(registry)
      @template = 'puppet_task.erb'
      @registry = registry
      super(registry, 'task')
    end

    def render
      super(@template)
    end

    def supports_noop
      @registry[:supports_noop]
    end

    def input_method
      @registry[:input_method]
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
puppet-strings-2.5.0 lib/puppet-strings/markdown/puppet_task.rb
puppet-strings-2.4.0 lib/puppet-strings/markdown/puppet_task.rb
puppet-strings-2.3.1 lib/puppet-strings/markdown/puppet_task.rb
puppet-strings-2.3.0 lib/puppet-strings/markdown/puppet_task.rb
puppet-strings-2.2.0 lib/puppet-strings/markdown/puppet_task.rb
puppet-strings-2.1.0 lib/puppet-strings/markdown/puppet_task.rb
puppet-strings-2.0.0 lib/puppet-strings/markdown/puppet_task.rb