Closed ambethia closed 9 years ago
robot.rb
Robot
say_hi
"Hi!"
say_name
"My name is X"
X
https://gist.github.com/cateia97/7baaf6c579a95964b63e
Looks great! The only thing is you're using tabs instead of 2 spaces for indentation. Let me know if you need some help figuring out how to switch that.
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.