Method: Puppet::Interface::TinyDocs#summary
- Defined in:
- lib/puppet/interface/documentation.rb
#summary(summary) ⇒ Object
Sets a summary of this object.
57 58 59 60 61 62 |
# File 'lib/puppet/interface/documentation.rb', line 57 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 |