class SshConf
def read_content
def read_content return @content if defined?(@content) file = inspec.file(@conf_path) if !file.file? return skip_resource "Can't find file \"#{@conf_path}\"" end @content = file.content if @content.empty? && file.size > 0 return skip_resource "Can't read file \"#{@conf_path}\"" end @content end