Method: Sheet::Copy#copy

Defined in:
lib/sheet/copy.rb

#copyObject



9
10
11
12
13
14
15
# File 'lib/sheet/copy.rb', line 9

def copy
  if name
    check_if_sheet_exists_and_copy_sheet
  else
    Sheet.display("Please specify a sheet name!")
  end
end