Skip to content

Commit

Permalink
Add alias for walk_plate_in_row_major_order method
Browse files Browse the repository at this point in the history
  • Loading branch information
yoldas committed Jan 10, 2024
1 parent 4055b89 commit 61aebd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -281,5 +281,6 @@ def walk_plate_in_row_major_order(size, asset_shape = nil)
.order(:row_order)
.each { |position| yield(position, position.row_order) }
end
alias walk_plate_horizontally walk_plate_in_row_major_order
end
end

0 comments on commit 61aebd0

Please sign in to comment.