Class: Puppet::Pops::Adapters::DocumentationAdapter

Inherits:
Puppet::Pops::Adaptable::Adapter show all
Defined in:
lib/puppet/pops/adapters.rb

Overview

A documentation adapter adapts an object with a documentation string. (The intended use is for a source text parser to extract documentation and store this in DocumentationAdapter instances).

Instance Attribute Summary collapse

Method Summary

Methods inherited from Puppet::Pops::Adaptable::Adapter

adapt, adapt_new, associate_adapter, clear, create_adapter, get, instance_var_name, self_attr_name, type_name

Instance Attribute Details

#documentationString

Returns The documentation associated with an object.

Returns:

  • (String)

    The documentation associated with an object



26
27
28
# File 'lib/puppet/pops/adapters.rb', line 26

def documentation
  @documentation
end