Skip to content

MKP1992/log_count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby APP

Simple page view log parser.

Requirements

Development

$ gem intall bundler
$ bundle install

Run tests

$ bundle exec rspec

Linting

$ bundle exec rubocop

EXEC Command

ruby main.rb filepath

#After reviewing the code, There is optimization is need

  1. Factory Pattern is good to used here: a. Total count file used to call in fatory for total count. b. Unique count file used to call in fatory for unique count.

then if we have to update anything we only have to touch the these 2 files, Also we used a sorter in Factory. but I am not sure as of now.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages