define parameters create in other function rails code example Example: ruby optional arguments def print_all(title, *chapters) end