class Quadtone::Tools::Rename
Public Instance Methods
run(*args)
click to toggle source
# File lib/quadtone/tools/rename.rb, line 7 def run(*args) new_name = args.shift or raise "Must specify new name" new_path = Profile::ProfilesDir / new_name @profile.dir_path.rename(new_path) end