ruby inbuilt functions code example Example: functions in ruby # functions in ruby def foo() # function body end