method with args rails code example Example: ruby optional arguments def print_all(title, *chapters) end