Method: Chef::Cookbook::Metadata#name
- Defined in:
- lib/chef/cookbook/metadata.rb
#name(arg = nil) ⇒ Object
Sets the name of the cookbook, or returns it.
=== Parameters
name
=== Returns
name
249 250 251 252 253 254 255 |
# File 'lib/chef/cookbook/metadata.rb', line 249 def name(arg = nil) set_or_return( :name, arg, kind_of: [ String ] ) end |