Internet Explorer in all versions is a dangerous browser. It has many deficiencies and security vulnerabilities that make it unsafe.
You should instead use a current version of Chrome or
Firefox if you're using windows or Safari for the Mac.
This site will not function properly in Internet Explorer. Emails will not be sent, downloads will not function, assignments will not be
submitted...
100 points
Restart Monitor
Requirements
Class created
10
Log file can be specified
10
Log file is searched
10
Restarts are found
20
Restarts can be displayed
10
Restarts shown are only the date and time of the restart
Practice using Ruby objects and regular expressions
Instructions
Create a class called RestartMonitor that can read from the attached log file and report the dates and times that system restarts occurred.
Your RestartMonitor class should have the ability to work with any specified log file name, it should be able to search for system restarts and report on those restarts independently (i.e. searching for and showing the restarts do not have to happen at the same time), and duplicate restarts should not be shown.
Restarts can be identified in the log file by the word "restarting" that will occur in those lines.