# File lib/serverspec/type/command.rb, line 4 def return_stdout?(content) if content.instance_of?(Regexp) stdout =~ content else stdout.strip == content end end