class Object

Public Instance Methods

redirect_output_to_file(file) click to toggle source

@param [ String ] file The file path

# File lib/cms_scanner/helper.rb, line 4
def redirect_output_to_file(file)
  $stdout.reopen(file, 'w')
  $stdout.sync = true
end