From: Brian Candler Date: 2010-11-19T05:46:52+09:00 Subject: Re: Time question Rohit Kumar wrote in post #962299: >> But why the dot for the method call can be ignored in this case? >> >> Time.now.-(86400) >> Time.now - 86400 >> >> the second has lost a "." before "-". >> > > most operators are methods in ruby > Time.now - 86400 is syntactic sugar for Time.now.-(86400) which in turn can be made even more explicit: Time.send(:now).send(:-, 86400) -- Posted via http://www.ruby-forum.com/.