Sha256: 07afb3aae19a3e82fd7ee758cd39f68bc36c2ec6509c0475e1c9feb7f57ad230
Contents?: true
Size: 405 Bytes
Versions: 14
Compression:
Stored size: 405 Bytes
Contents
## THIS IS TRASH. I copy-paste repetitively instead! ## aka: Ish::Shareable ## adds is_public (default true) and #shared_profiles, inverse :shared_items ??? module Ish::Nonpublic def self.included base base.send :field, :is_public, type: Boolean, default: true base.send :has_and_belongs_to_many, :shared_profiles, :class_name => 'Ish::UserProfile', :inverse_of => :shared_markers end end
Version data entries
14 entries across 14 versions & 1 rubygems