Module: MongoMapper::Serialization::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#json_class_nameObject



30
31
32
# File 'lib/mongo_mapper/serializers/json_serializer.rb', line 30

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