| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ref: https://github.com/ruby/ruby/blob/ruby_2_7/lib/irb/easter-egg.rb#L112-L131
Ref: https://stackoverflow.com/questions/11023929/using-the-alternate-screen-in-a-bash-script
Ref: https://superuser.com/questions/122911/what-commands-can-i-use-to-reset-and-clear-my-terminal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Moving neighbors implementation from cells to universe as per the single
responsibility principle that the universe should be responsible for
it's object states and that the cells are only aware of their neighbors
(via the universe) by passing the neighbors sub-universe to each cell
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This provide the future flexibility when needing to override the method
to provide a custom behaviour it can be done and removing of the alias
and the rest of the class should be untouched
|
|
|
|
|
|
|
|
This to allow private class methods
Ref: https://medium.com/rubycademy/3-ways-to-make-class-methods-private-in-ruby-64b970e54613
|
|
|
|
|
|
|
|
|