Method: Chef::Resource::DscScript#command
- Defined in:
- lib/chef/resource/dsc_script.rb
#command(arg = nil) ⇒ Object
74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/chef/resource/dsc_script.rb', line 74 def command(arg = nil) if arg && code raise ArgumentError, "The 'code' and 'command' properties may not be used together" end set_or_return( :command, arg, kind_of: [ String ] ) end |