Skip to content

rle/twitterclone2

Repository files navigation

  • Maglev must be installed

  • If you are using RVM, remember to rvm use maglev

  1. Run ruby initialise_repo.rb This creates a persistent Person class and sets up the initial empty array

  2. Run ruby show_persons.rb An empty list must be returned

  3. Run ruby add_persons.rb

  4. Run ruby show_persons.rb The following must be displayed

    @dhh tweeted 0 times, follows 0 persons and is followed 2 times , following: { } followed by: { obie unclebob } @obie tweeted 0 times, follows 1 persons and is followed 1 times , following: { dhh } followed by: { unclebob } @unclebob tweeted 0 times, follows 2 persons and is followed 2 times , following: { dhh obie } followed by: { noob1 noob2 }

See the presentation on SlideShare for more details.

About

Another example of using Maglev

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages