Skip to content

Commit

Permalink
Improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ssnickolay committed Nov 8, 2023
1 parent 0f75c73 commit dc9b1c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/clowne/integrations/circular_clone_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ class CellCloner < Clowne::Cloner

mapper = operation.mapper

# replace with your cells selection logic
# replace with your cells selection logic:
# cells = Cell.all or
# cells = table.rows.flat_map(&:cells) or
# cells = table.columns.flat_map(&:cells) or
# cells = Cell.where(row_id: table.rows.pluck(:id)) etc.
cells.each do |cell|
AR::CellCloner.call(cell, mapper: mapper).to_record.save!
end
Expand Down

0 comments on commit dc9b1c9

Please sign in to comment.