https://github.com/exercism/ruby-representer
https://github.com/exercism/ruby-representer
community-contributions-paused exercism-representer exercism-tooling maintained
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/exercism/ruby-representer
- Owner: exercism
- License: agpl-3.0
- Created: 2019-10-09T10:43:43.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-01T22:52:02.000Z (3 months ago)
- Last Synced: 2025-04-29T06:26:46.842Z (about 1 month ago)
- Topics: community-contributions-paused, exercism-representer, exercism-tooling, maintained
- Language: Ruby
- Size: 171 KB
- Stars: 4
- Watchers: 11
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Exercism's Ruby Representer

[](https://codeclimate.com/github/exercism/ruby-representer/maintainability)
[](https://codeclimate.com/github/exercism/ruby-representer/test_coverage)This is Exercism's representer for the Ruby track.
It is run with `./bin/run.sh $EXERCISM $PATH_TO_FILES $PATH_FOR_OUTPUT` and will read the source code from `$PATH_TO_FILES` and write a text file with a representation to `$PATH_FOR_OUTPUT`.
For example:
```bash
./bin/run.sh two_fer ~/solution-238382y7sds7fsadfasj23j/ ~/solution-238382y7sds7fsadfasj23j/output
```## Running the tests
Before running the tests, first install the dependencies:
```bash
bundle install
```Then, run the following command to run the tests:
```bash
bundle exec rake test
```