Closed ambethia closed 9 years ago
robot.rb
Robot
say_hi
"Hi!"
say_name
"My name is X"
X
@ambethia: https://gist.github.com/amie-wilt/361387a1d412eab6a9db
@amie-wilt Looks great! My only comment is on the tabs instead of spaces. Let me know if you need help getting that set right in your editor.
Week 1 - Assignment #2
robot.rb
Robot
classsay_hi
and it should return"Hi!"
say_name
and it should return"My name is X"
whereX
is the robot's name.Robot
class.say_name
in a different way than the original.