Module: Bipolar

Defined in:
lib/bipolar.rb

Defined Under Namespace

Modules: ClassMethods, Embedded

Constant Summary collapse

Version =
'0.1.0'

Class Method Summary collapse

Class Method Details

.configure(model) ⇒ Object



6
7
8
9
# File 'lib/bipolar.rb', line 6

def self.configure(model)
  model.class_inheritable_accessor :bipolar_associations
  model.bipolar_associations = Set.new
end