How to learn Ruby in the Daigaku screen - daigaku-ruby/daigaku GitHub Wiki

The Daigaku screen is a text based interface which shows your installed courses and allows you to navigate through their chapters and units.

You can start the Diagaku screen with:

$ daigaku learn

Courses, chapters, and units are displayed as menu points which you can enter. If you enter a unit you will get to the task view. Here you can read some explanations and the actual programming task. By using shortcut keys you can open a Ruby file to put your solution code in and afterwards verify it. Daigaku will then tell you when it passed all requirements or what's wrong with your code.

Navigation and shortcut keys

Key Action
UP and DOWN Navigation through the menu
ENTER Enter a menu point
BACKSPACE Go back
ESC Close the Daigaku screen

If you are in the task view with the task description you can use the following keys:

Key Action
UP and DOWN Scroll through task text
PAGE UP and PAGE DOWN Scroll to previous or next page
LEFT and RIGHT Go to start or end of text
v Validate your solution code
c Clear screen to hide validation results
o Open your solution file in the default editor

Screenshots

Daigaku splash screen

Courses, Chapters, Units menu

Daigaku courses menu

Daigaku chapters menu

Daigaku units menu

Daigaku task view

Daigaku task view