def « Method « Ruby






1.Use def to define a function
2.def and end define the welcome method:
3.define your own method with def/end