Module: Positioning::Behaviour

Extended by:
ActiveSupport::Concern
Defined in:
lib/positioning.rb

Instance Method Summary collapse

Instance Method Details

#initialize_dup(other) ⇒ Object



65
66
67
68
69
70
71
# File 'lib/positioning.rb', line 65

def initialize_dup(other)
  super

  self.class.positioning_columns.keys.each do |positioning_column|
    send :"#{positioning_column}=", nil
  end
end