Top Level Namespace

Defined Under Namespace

Modules: CMSScanner, PublicSuffix, Typhoeus Classes: Numeric

Instance Method Summary collapse

Instance Method Details

#redirect_output_to_file(file) ⇒ Object

Parameters:

  • file (String)

    The file path



4
5
6
7
# File 'lib/cms_scanner/helper.rb', line 4

def redirect_output_to_file(file)
  $stdout.reopen(file, 'w')
  $stdout.sync = true
end