This is just an example code to convert number to words using Ruby language.