项目作者: OYousryB

项目描述 :
Exercism problem solving using ruby language
高级语言: Ruby
项目地址: git://github.com/OYousryB/Exercism.git
创建时间: 2017-07-25T13:08:33Z
项目社区:https://github.com/OYousryB/Exercism

开源协议:

下载


Exercism Ruby Track

Build Status Join the chat at https://gitter.im/exercism/ruby

Exercism Exercises in Ruby

Setup

You’ll need a recent (2.1+) version of Ruby, but that’s it. Minitest ships with the language, so you’re all set.

Anatomy of an Exercise

The files for an exercise live in exercises/. The slug for an exercise is a unique nickname composed of a-z (lowercase) and -, e.g. clock or atbash-cipher. Inside its directory, each exercise has:

a test suite, _test.rb
an example solution, .meta/solutions/.rb
where is the underscored version of the exercise’s slug, e.g., clock or atbash_cipher.

If the exercise has a test generator, the directory will also contain:

.version
the test generator, .meta/generator/_case.rb
A few exercises use a custom test template:

.meta/generator/test_template.erb