Method: Gitplate::Plate#rename

Defined in:
lib/gitplate/plate.rb

#rename(from = nil, to = nil) ⇒ Object



34
35
36
37
# File 'lib/gitplate/plate.rb', line 34

def rename(from = nil, to = nil)
  Gitplate.debug_msg "  renaming #{from} to #{to}"
  File.rename(expand_path(from), expand_path(to))
end