irb(main):001:0> time=Time.new
=> 2013-01-12 11:22:54 +0530
irb(main):002:0> puts time.to_s
2013-01-12 11:22:54 +0530
=> nil
irb(main):003:0> puts time.ctime
Sat Jan 12 11:22:54 2013
=> nil
irb(main):004:0> puts time.local_time
NoMethodError: undefined method `local_time' for 2013-01-12 11:22:54 +0530:Time
from (irb):4
from C:/Ruby193/bin/irb:12:in `<main>'
irb(main):005:0> puts time.localtime
2013-01-12 11:22:54 +0530
=> nil
irb(main):006:0> puts time.strftime("%Y-%m-%d %H:%M:%S")
2013-01-12 11:22:54
=> nil
irb(main):007:0>
Now my confusion is why that "=> nil" coming? what concept here to come it after every time function invokation?