Method: Chef::Cookbook::Metadata#description

Defined in:
lib/chef/cookbook/metadata.rb

#description(arg = nil) ⇒ Object

Sets the current description, or returns it. Should be short - one line only!

=== Parameters description:: The new description

=== Returns description:: Returns the description



203
204
205
206
207
208
209
# File 'lib/chef/cookbook/metadata.rb', line 203

def description(arg = nil)
  set_or_return(
    :description,
    arg,
    kind_of: [ String ]
  )
end