Method: Chef::Resource::Conditional#to_text
- Defined in:
- lib/chef/resource/conditional.rb
#to_text ⇒ Object
91 92 93 94 95 96 97 |
# File 'lib/chef/resource/conditional.rb', line 91 def to_text if @command "#{positivity} \"#{@command}\"" else "#{@positivity} { #code block }" end end |