Sha256: b0b0f1b0d44b73c0e0af7869b4c7e1758bf2edf2aa362da7125b9f7c86aad68b
Contents?: true
Size: 337 Bytes
Versions: 4
Compression:
Stored size: 337 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 Spontaneous::Site.schema.add_group_member(self, group_names) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems