Class: Fixnum

Inherits:
Object show all
Defined in:
lib/mongo_persist/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#to_mongo_keyObject



48
49
50
# File 'lib/mongo_persist/core_ext.rb', line 48

def to_mongo_key
  "#{self}-NUM"
end