Module: Lite::Uxid::Record::Hash

Extended by:
ActiveSupport::Concern
Defined in:
lib/lite/uxid/record/hash.rb

Instance Method Summary collapse

Instance Method Details

#uxid_to_idObject



31
32
33
34
35
# File 'lib/lite/uxid/record/hash.rb', line 31

def uxid_to_id
  return unless respond_to?(:uxid)

  Lite::Uxid::Hash.decode(uxid)
end