Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/kimurai/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#to_idObject


4
5
6
# File 'lib/kimurai/core_ext/string.rb', line 4

def to_id
  MurmurHash3::V32.str_hash(self)
end