| Age | Commit message (Collapse) | Author |
|
* MIT License
* README includes a description of the project shows how to run the
tests to check solutions to the exercises.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|