Mega Code Archive
Categories
/
Ruby
/
Method
Passing Arguments to a Method
def greeting(message) puts message end greeting("Hello from Ruby.")