Skip to content

Thiago-Cardoso/CalculateNoodles-sdk

Repository files navigation

The CalculateNoodles-sdk Ruby gem

Current Version Ruby Version

CalculateNoodles

Calculation of cooking time for instant noodles problem.

Installation

Add this line to your application's Gemfile:

gem 'CalculateNoodles', :git =>'git://github.com/Thiago-Cardoso/CalculateNoodles-sdk.git' 

And then execute:

$ bundle install

Usage Example

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

Running tests

CalculateNoodles-sdk uses Rspec as test framework.

  • Running all tests:
rspec spec
  • Running tests for an specific file:
rspec spec/CalculateNoodles_spec.rb

Supported Ruby Versions

This library aims to support and is the following Ruby versions:

  • Ruby 2.6
  • Ruby 2.7

Authors


Thiago Cardoso

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Thiago-Cardoso/CalculateNoodles-sdk.

License

The gem is available as open source under the terms of the MIT License.

About

Calculation of cooking time for instant noodles problem

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published