[Nitro] cookie.rb ?

akonsu akonsu at gmail.com
Tue Nov 15 17:21:06 EST 2005


hello,

could someone explain this code found in cookie.rb:

  def expires=(t)
    @expires = t && (t.is_a?(Time) ? t.httpdate : t.to_s)
  end

why does it need the "t &&" part?

thanks
konstantin




More information about the Nitro-general mailing list