Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 919 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 919 Bytes

scheduling-excercise

Excercise in Ruby to determine whether a set of meetings can fit within a 9 to 5 schedule

Instructions

Run schedule-test.rb on the commandline using ruby.exe to see example output

ruby.exe schedule-test.rb

Development Notes

Notable Differences in Ruby

Differences to keep in mind that could be handy or problematic

  • Arrays can have numerous different object types

Ruby Style Norms

  • 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

References