Numbers and Ruby

[et_pb_section][et_pb_row][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left”]

Numbers and Ruby

[/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row][et_pb_column type=”1_2″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left”]

Requirements

The assignment for numbers.

And More…

The more assignment is to use the Time class of ruby to write a program that calculates the age of a person.  You’ll have to read the Time documentation to do this, and maybe search the web for some example code.

 

[/et_pb_text][/et_pb_column][et_pb_column type=”1_2″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left”]

 Resources

 Ruby Time class documentation

There are 2 iTunes U videos I’ve made that are helpful with this unit.  One called “Numbers”, and one called “Numbers and Strings.”

iTunes U Course.

 

 

[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]