Module: MongoMapper::Serialization::ClassMethods

Defined in:
lib/mongo_mapper/serializers/json_serializer.rb

Instance Method Summary collapse

Instance Method Details

#json_class_nameObject



74
75
76
# File 'lib/mongo_mapper/serializers/json_serializer.rb', line 74

def json_class_name
  @json_class_name ||= name.demodulize.underscore.inspect
end