tracks/ruby/exercises/leap/README.md in trackler-2.2.1.99 vs tracks/ruby/exercises/leap/README.md in trackler-2.2.1.100

- old
+ new

@@ -2,11 +2,11 @@ Given a year, report if it is a leap year. The tricky thing here is that a leap year in the Gregorian calendar occurs: -```plain +```text on every year that is evenly divisible by 4 except every year that is evenly divisible by 100 unless the year is also evenly divisible by 400 ``` @@ -38,18 +38,16 @@ If you would like color output, you can `require 'minitest/pride'` in the test file, or note the alternative instruction, below, for running the test file. -In order to run the test, you can run the test file from the exercise -directory. For example, if the test suite is called -`hello_world_test.rb`, you can run the following command: +Run the tests from the exercise directory using the following command: - ruby hello_world_test.rb + ruby leap_test.rb To include color from the command line: - ruby -r minitest/pride hello_world_test.rb + ruby -r minitest/pride leap_test.rb ## Source JavaRanch Cattle Drive, exercise 3 [http://www.javaranch.com/leap.jsp](http://www.javaranch.com/leap.jsp)