Sha256: cd7752b49b7c6c020ba28318053fe83e10d3ba6e43804274ceaf5037fc1fdaf4
Contents?: true
Size: 325 Bytes
Versions: 6
Compression:
Stored size: 325 Bytes
Contents
# encoding: UTF-8 module Spontaneous::Model::Core module ContentGroups extend Spontaneous::Concern module ClassMethods attr_reader :group_memberships def group(*group_names) @group_memberships = group_names model.schema.add_group_member(self, group_names) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems