Module: HashIdentable::ClassMethods

Defined in:
lib/hash_identable/class_methods.rb

Instance Method Summary collapse

Instance Method Details

#has_hashid(id) ⇒ Object



9
10
11
12
# File 'lib/hash_identable/class_methods.rb', line 9

def has_hashid(id)
  klass = self.to_s
  return HashIdentable::lookup_table.store(id, klass)
end