class Snowflakes::Snowflake

Public Class Methods

new(u, l) click to toggle source
# File lib/snowflakes.rb, line 25
def initialize(u, l)
  @u = u
  @l = l
end

Public Instance Methods

to_hex() click to toggle source
# File lib/snowflakes.rb, line 30
def to_hex
  '%016x%016x' % [@u, @l]
end