aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-05-30Add LICENSE & READMEHEADmasterTeddy Wing
* MIT License * README includes a description of the project shows how to run the tests to check solutions to the exercises.
2015-05-30Fix `./run_test.sh 7`Teddy Wing
Running exercise 7's tests would also run exercise 8s test because the regex matcher caught anything with `Table` in it. Make the test name for the ex 7 block a little more specific so that we're only running ex 7s tests when we try to do so.
2015-05-30run_test.sh: Remove unnecessary backslashesTeddy Wing
I just assumed you needed backslash line continuation markers when creating arrays in Bash. Turns out I was wrong and they're not needed. Remove them because in addition the the preceding they're also an eyesore.
2015-05-25Add MakefileTeddy Wing
Add targets that allow me to create a zip of the exercises for sending. We copy all the needed files to a new directory, then zip the solutions file so it isn't immediately accessible (wouldn't want to accidentally open the solutions file if you didn't mean to), and then zips the whole thing for easy sending. Finally, we clean up the mess.
2015-05-25Create run_test.sh that will run tests for a single exerciseTeddy Wing
Make it easy for learners to run the tests for a single exercise. Otherwise, calling ruby exercises_spec.rb would run all the tests, producing error output for exercises we haven't even written yet. This allows us to run the appropriate tests as needed.
2015-05-25Move solutions to exercises_solutions.rbTeddy Wing
Remove code from `exercises.rb` and leave that for learners to complete. The solutions are available if needed in a separate file. Also number exercises with comments so they can be refered to by a unique numerical id.
2015-05-25Remove RakefileTeddy Wing
Would likely overcomplicate things for a beginner. Let's just leave out the spec directory and the Rakefile. We can now call ruby exercises_spec.rb to run our tests. This will be useful because I'd like to write a script that will allow you to run just the tests for an individual exercise.
2015-05-25Rename `functions_spec.rb`Teddy Wing
I originally used the `functions` name because I thought I was going to split up the exercise solutions into separate files, starting with `functions.rb`. I ended up putting them all in the same file in the end.
2015-05-25Initial commit. Mostly complete for today.Teddy Wing
A set of basic Ruby exercises to get more familiar with functions, and some basic things with classes. The exercises are mostly complete as far as today is concerned. Includes solutions and tests. Will be shifting some files around to make it easier to run the tests when doing individual exercises.