Guest User

Untitled

a guest
Jan 15th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 0.21 KB | None | 0 0
  1.     def dup
  2.       copy = super       # Make a shallow copy by calling Object.dup
  3.       @grid = @grid.dup  # Make a new copy of the internal data
  4.       copy               # Return the copied object
  5.     end
Add Comment
Please, Sign In to add comment