Hello,

you can use:

   puts 'Reverse'.reverse
   puts Time.now.month

                         Miroslav

On 16. Jún, 08:50 h., mak pandian <[email protected]> wrote:
> Hello to all,
> I am newbie for this group.I have a little doubt about the homework of
> Ruby blocks.
> My doubt is that how can we calculate the current month of the year.I
> know that by time.now we  can get the time of now.
> Second doubt is How to print the string in the reverse??
>
> Help me if you can.
> Thanking You.
> --
> Regards
> KolluraniPandian A
> (Living in Virtual World)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to