Methods

Lesson 15
Author : Afrixi
Last Updated : November, 2017


Ruby - Programming Language
This course covers the basics of programming in Ruby. Work your way through the videos/articles and I'll teach you everything you need to know to start your programming journey!

sayHi()

sayHi("Mike")

A parameter is a special variable that a Method will use to perform it’s task in a way that is more specific to the needs of the caller. An argument is the value the caller gives to the Method which will get stored inside the parameter variable.

sayHi("Mike", 24)