static private Method

TMail.random_tag

There's no documentation for this item.

Source Code

# File action_mailer/vendor/tmail-1.2.2/tmail/utils.rb, line 46
def TMail.random_tag
  @uniq += 1
  t = Time.now
  sprintf('%x%x_%x%x%d%x',
          t.to_i, t.tv_usec,
          $$, Thread.current.object_id, @uniq, rand(255))
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.