Sha256: f242b2ad781e7845372949bfdf4b39e493fb51bed0ebf2d914915d3b27a8cc8c
Contents?: true
Size: 311 Bytes
Versions: 31
Compression:
Stored size: 311 Bytes
Contents
module MongoModel module AbstractClass extend ActiveSupport::Concern def inherited(subclass) subclass.abstract_class = false end module ClassMethods attr_accessor :abstract_class def abstract_class? abstract_class == true end end end end
Version data entries
31 entries across 31 versions & 1 rubygems