class Time

Extends Time class.

Public Instance Methods

to_snowflake() click to toggle source

Converts Time object into Snowflake object.

# File lib/snowflake-id.rb, line 63
def to_snowflake
  return SnowflakeId.to_snowflake(self)
end