-
Maglev must be installed
-
If you are using RVM, remember to
rvm use maglev
-
Run
ruby initialise_repo.rb
This creates a persistent Person class and sets up the initial empty array -
Run
ruby show_persons.rb
An empty list must be returned -
Run
ruby add_persons.rb
-
Run
ruby show_persons.rb
The following must be displayed@dhh --> [2] obie unclebob
@obie --> [1] unclebob
@unclebob --> [2] noob1 noob2
See the presentation on SlideShare for more details.