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 |
# File 'lib/puppet/interface/documentation.rb', line 57 attr_doc :summary do |value| value =~ /\n/ and raise ArgumentError, "Face summary should be a single line; put the long text in 'description' instead." value end |