method

initialize_copy

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: Case
initialize_copy(other) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/arel/nodes/case.rb, line 29
      def initialize_copy(other)
        super
        @case = @case.clone if @case
        @conditions = @conditions.map { |x| x.clone }
        @default = @default.clone if @default
      end
Register or log in to add new notes.