thalessr / bit_counter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bit_counter

To count the zeroes and ones existing in a file execute the following

ruby lib/main.rb your_file_path

Example ruby lib/main.rb ~/Downloads/test.txt

Run test

  • Install the test depencies by running the command bundle install
  • Then run the tests bundle exec rspec

About

License:The Unlicense


Languages

Language:Ruby 100.0%