Sha256: 97941c3c0e1b5a99e03a262f3bd3423f5a4a0fe203cc550f53a2d7c3e03f8ae4
Contents?: true
Size: 359 Bytes
Versions: 3
Compression:
Stored size: 359 Bytes
Contents
class Base module ClazzMethods extend ActiveSupport::Concern module ClassMethods def model_name self.to_s end def find id list.first end def all list end protected def add obj list << obj end def list @list ||= [] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems