Class: Integer
- Inherits:
-
Object
- Object
- Integer
- Defined in:
- lib/fw.rb
Overview
Expand the Integer class for UI64 (Universal Identifier) representation
Instance Method Summary collapse
Instance Method Details
#to_ui64 ⇒ Object
20 21 22 |
# File 'lib/fw.rb', line 20 def to_ui64 ("%016x" % self).scan(/[a-f0-9]{2}/).join(":") end |