Excercise in Ruby to determine whether a set of meetings can fit within a 9 to 5 schedule
Run schedule-test.rb on the commandline using ruby.exe to see example output
ruby.exe schedule-test.rb
Differences to keep in mind that could be handy or problematic
- Arrays can have numerous different object types
- Boolean variable names should end with question marks
- Variable names are typically lowercase snake_case
- Method names are also lowercase snake_case
- Multi-line comments are not typically used supposedly? Just use a series of single-line comments
- Each loops are used in preference over for loops