Calculation of cooking time for instant noodles problem.
Add this line to your application's Gemfile:
gem 'CalculateNoodles', :git =>'git://github.com/Thiago-Cardoso/CalculateNoodles-sdk.git'
And then execute:
$ bundle install
CalculateNoodles (Calculation of cooking time for instant noodles problem)
time_cook: 3
time_hourglass_one: 5
time_hourglass_two: 7
CalculateNoodles::Calculate.new(time_cook, time_hourglass_one, time_hourglass_two).calculate_time
CalculateNoodles-sdk uses Rspec as test framework.
- Running all tests:
rspec spec
- Running tests for an specific file:
rspec spec/CalculateNoodles_spec.rb
This library aims to support and is the following Ruby versions:
- Ruby 2.6
- Ruby 2.7
Bug reports and pull requests are welcome on GitHub at https://github.com/Thiago-Cardoso/CalculateNoodles-sdk.
The gem is available as open source under the terms of the MIT License.