Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 366 Bytes

questions.md

File metadata and controls

11 lines (6 loc) · 366 Bytes

Day 4 Questions

  1. In your own words, what is the purpose of a method?

  2. Create a method named hello that will print "Sam I am".

  3. Create a method named hello_someone that takes an argument of name and prints "#{name} I am".

  4. How would you call or execute the method that you created above?

  5. What questions do you have about methods in Ruby?