Fall 2013

Lab08
Temperature Converter

Due: Tuesday December 11, 2012 11:59 PM

Lab08 - Temperature Converter

Requirements

All tests pass (in the spirt of the test)75 pts
Short convert methods are handled with respond_to? and method_missing25 pts
Total100 pts

Resources

Objective

Practice with Testing and Dynamic Class Behaviors

Instructions

Write a class called Temp that will be able to convert temperatures between Celsius, Fahrenheit, and Kelvin. Your class is complete when it can pass all of the unit tests in the attached file.

In the tests where it refers to short_convert_methods, those methods should not be implemented as traditional methods in the class. Instead, they should be handled by responds_to? and method_missing methods.