Module: MongoMapper::Plugins::Serialization::Json::ClassMethods

Defined in:
lib/mongo_mapper/plugins/serialization.rb

Instance Method Summary collapse

Instance Method Details

#json_class_nameObject



64
65
66
# File 'lib/mongo_mapper/plugins/serialization.rb', line 64

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