Method: Puppet::Interface::TinyDocs#summary

Defined in:
lib/puppet/interface/documentation.rb

#summary(summary) ⇒ Object

Sets a summary of this object.



59
60
61
62
63
64
# File 'lib/puppet/interface/documentation.rb', line 59

attr_doc :summary do |value|
  value =~ /\n/ and
    # TRANSLATORS 'Face' refers to a programming API in Puppet, 'summary' and 'description' are specifc attribute names and should not be translated
    raise ArgumentError, _("Face summary should be a single line; put the long text in 'description' instead.")
  value
end