Libraries
»
moxie
(0.0.1)
»
Index (I)
»
Moxie
»
ID
Class: Moxie::ID
Inherits:
Object
Object
Moxie::ID
show all
Defined in:
lib/moxie/id.rb
Class Method Summary
collapse
.
generate
⇒ Object
Class Method Details
.
generate
⇒
Object
3 4 5
# File 'lib/moxie/id.rb', line 3
def
self
.
generate
SecureRandom
.
hex
[
0
,
8
]
end