From: Shawn M Moore Date: Sun, 21 Jun 2009 15:42:07 +0000 (-0400) Subject: printable_name is actually full_name X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=83c2705f359fdb2c09a54895c28d37885cdd7c6e;p=gitmo%2Fmoose-presentations.git printable_name is actually full_name --- diff --git a/moose-class/exercises/t/01-classes.t b/moose-class/exercises/t/01-classes.t index 4d06f99..b781dc9 100644 --- a/moose-class/exercises/t/01-classes.t +++ b/moose-class/exercises/t/01-classes.t @@ -7,7 +7,7 @@ # * first_name - read-write # * last_name - read-write # -# This class should also have a method named "printable_name". This +# This class should also have a method named "full_name". This # method should return the first and last name separated by a string # ("Jon Smith"). # @@ -21,7 +21,7 @@ # * salary - read-write # * ssn - read-only # -# The Employee class should override the "printable_name" method to +# The Employee class should override the "full_name" method to # append the employee's title in parentheses ("Jon Smith # (Programmer)"). Use override() and super() for this. # diff --git a/moose-class/exercises/t/02-roles.t b/moose-class/exercises/t/02-roles.t index ebc6ddc..2d9ba89 100644 --- a/moose-class/exercises/t/02-roles.t +++ b/moose-class/exercises/t/02-roles.t @@ -4,7 +4,7 @@ # consuming class implement an "as_string" method. # # Make the Person class from the last set of exercises consume this -# role. Use printable_name as the output for the as_string method. The +# role. Use full_name as the output for the as_string method. The # Employee subclass should still override this output. # # Implement a role HasMoney. This should provide a read-write