-
In your own words, what is the purpose of a method?
-
Create a method named
hello
that will print"Sam I am"
. -
Create a method named
hello_someone
that takes an argument ofname
and prints"#{name} I am"
. -
How would you call or execute the method that you created above?
-
What questions do you have about methods in Ruby?