Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/snowflake-id.rb
Overview
Extends Time class.
Instance Method Summary collapse
-
#to_snowflake ⇒ Object
Converts Time object into Snowflake object.
Instance Method Details
#to_snowflake ⇒ Object
Converts Time object into Snowflake object.
63 64 65 |
# File 'lib/snowflake-id.rb', line 63 def to_snowflake return SnowflakeId.to_snowflake(self) end |