Class: String

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

Instance Method Summary collapse

Instance Method Details

#to_idObject



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

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