Adding sample ruby code.