Sha256: 71f9111c78c75ba486803cc16463b024752cc29721f4e6165b52d1ac3011ff9e

Contents?: true

Size: 668 Bytes

Versions: 222

Compression:

Stored size: 668 Bytes

Contents

Refactor a ledger printer.

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

222 entries across 222 versions & 1 rubygems

Version Path
trackler-2.2.1.180 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.179 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.178 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.177 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.176 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.175 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.174 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.173 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.172 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.171 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.170 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.169 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.167 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.166 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.165 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.164 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.163 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.162 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.161 problem-specifications/exercises/ledger/description.md
trackler-2.2.1.160 problem-specifications/exercises/ledger/description.md