module Torid

Torid

Temporally Ordered IDs. Generate universally unique identifiers (UUID) that sort lexically in time order.

Public

↑ top

Constants

VERSION

The Version of the Torid library as a String

Public Class Methods

uuid() click to toggle source

return the next Torid::UUID from the default Generator

This is just a shortcut to Torid::Generator.next

Example:

Torid.uuid # => Torid::UUID

Returns

Returns a Torid::UUID

# File lib/torid.rb, line 16
def self.uuid
  Torid::Generator.next
end

Internal

↑ top