Sha256: b578fb52a8e4bd9c2b118ad92923176f6d4f6c49d8c2caa88d131a2fab8c299a

Contents?: true

Size: 640 Bytes

Versions: 174

Compression:

Stored size: 640 Bytes

Contents

The ledger exercise is a refactoring exercise. There is code that prints a
nicely formatted ledger, given a locale (American or Dutch) and a currency (US
dollar or euro). The code however is rather badly written, though (somewhat
surprisingly) it consistently passes the test suite.

Rewrite this code. Remember that in refactoring the trick is to make small steps
that keep the tests passing. That way you can always quickly go back to a
working version.  Version control tools like git can help here as well.

Please keep a log of what changes you've made and make a comment on the exercise
containing that log, this will help reviewers.

Version data entries

174 entries across 174 versions & 1 rubygems

Version Path
trackler-2.1.0.18 common/exercises/ledger/description.md
trackler-2.1.0.17 common/exercises/ledger/description.md
trackler-2.1.0.16 common/exercises/ledger/description.md
trackler-2.1.0.15 common/exercises/ledger/description.md
trackler-2.1.0.14 common/exercises/ledger/description.md
trackler-2.1.0.13 common/exercises/ledger/description.md
trackler-2.1.0.12 common/exercises/ledger/description.md
trackler-2.1.0.11 common/exercises/ledger/description.md
trackler-2.1.0.10 common/exercises/ledger/description.md
trackler-2.1.0.9 common/exercises/ledger/description.md
trackler-2.1.0.8 common/exercises/ledger/description.md
trackler-2.1.0.7 common/exercises/ledger/description.md
trackler-2.1.0.6 common/exercises/ledger/description.md
trackler-2.1.0.5 common/exercises/ledger/description.md
trackler-2.1.0.4 common/exercises/ledger/description.md
trackler-2.1.0.3 common/exercises/ledger/description.md
trackler-2.1.0.2 common/exercises/ledger/description.md
trackler-2.1.0.1 common/exercises/ledger/description.md
trackler-2.1.0.0 common/exercises/ledger/description.md
trackler-2.0.8.55 common/exercises/ledger/description.md