Module: UuidShortner::GuidDecoder
- Defined in:
- lib/uuid_shortner/guid_decoder.rb
Instance Method Summary collapse
Instance Method Details
#stretch(short_uuid) ⇒ Object
3 4 5 6 7 |
# File 'lib/uuid_shortner/guid_decoder.rb', line 3 def stretch short_uuid guid_as_int = bijective_decode short_uuid guid_as_hex = guid_as_int.to_s(16) insert_uuid_hyphens guid_as_hex end |