Class: Identifier::UUID::Random::Substitute::Random

Inherits:
Identifier::UUID::Random show all
Defined in:
lib/identifier/uuid/random.rb

Instance Method Summary collapse

Methods inherited from Identifier::UUID::Random

configure, get, raw

Instance Method Details

#getObject



38
39
40
# File 'lib/identifier/uuid/random.rb', line 38

def get
  @id ||= UUID.zero
end

#set(val) ⇒ Object



42
43
44
# File 'lib/identifier/uuid/random.rb', line 42

def set(val)
  @id = val
end